Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.92 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 65.47 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003103/0.3074, allocations: 1.623 MB / 0.5598 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3093, allocations: 1.263 MB / 0.5611 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3093, allocations: 0 / 0.5611 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.3095, allocations: 31.78 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.3098, allocations: 83.62 kB / 0.5612 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.3101, allocations: 111.6 kB / 0.5613 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.3103, allocations: 75.77 kB / 0.5614 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.3104, allocations: 7.984 kB / 0.5614 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.3104, allocations: 31.86 kB / 0.5614 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3106, allocations: 35.84 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3106, allocations: 4 kB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3108, allocations: 99.88 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.3108, allocations: 15.98 kB / 0.5616 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.3109, allocations: 19.81 kB / 0.5616 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3111, allocations: 149.8 kB / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3111, allocations: 0 / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3111, allocations: 0 / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3111, allocations: 0 / 0.5617 GB, free: 4.199 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004931/0.3116, allocations: 327.9 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3117, allocations: 16.03 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3117, allocations: 8.891 kB / 0.5621 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3119, allocations: 134.4 kB / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3119, allocations: 4.375 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3119, allocations: 4.375 kB / 0.5622 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3121, allocations: 67.45 kB / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3121, allocations: 0 / 0.5623 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3121, allocations: 4 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3121, allocations: 4 kB / 0.5623 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.3122, allocations: 23.98 kB / 0.5623 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.3126, allocations: 255.9 kB / 0.5625 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.3128, allocations: 42.5 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3129, allocations: 20.94 kB / 0.5626 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3129, allocations: 4 kB / 0.5626 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3129, allocations: 34.56 kB / 0.5626 GB, free: 3.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3129, allocations: 0 / 0.5626 GB, free: 3.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005782/0.3135, allocations: 153.4 kB / 0.5628 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.3136, allocations: 77.11 kB / 0.5628 GB, free: 2.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3137, allocations: 152.2 kB / 0.563 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3137, allocations: 25.7 kB / 0.563 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3138, allocations: 96.08 kB / 0.5631 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3138, allocations: 23.78 kB / 0.5631 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.3139, allocations: 21.72 kB / 0.5631 GB, free: 2.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.314, allocations: 318.8 kB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.3141, allocations: 19.98 kB / 0.5635 GB, free: 2.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.442e-05/0.3142, allocations: 41.7 kB / 0.5635 GB, free: 2.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.3143, allocations: 56.7 kB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3143, allocations: 0 / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002058/0.3145, allocations: 85.61 kB / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3146, allocations: 4 kB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3146, allocations: 288 / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3146, allocations: 4.031 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.3146, allocations: 19.98 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3147, allocations: 0 / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.3147, allocations: 4 kB / 0.5637 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3147, allocations: 7.922 kB / 0.5637 GB, free: 1.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.3148, allocations: 113.8 kB / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.3148, allocations: 11.94 kB / 0.5638 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3151, allocations: 106 kB / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3151, allocations: 0 / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3151, allocations: 0 / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3151, allocations: 0 / 0.5639 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.3156, allocations: 333.8 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3156, allocations: 3.984 kB / 0.5642 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.3156, allocations: 12 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3156, allocations: 0 / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3157, allocations: 4 kB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3157, allocations: 7.938 kB / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3157, allocations: 0 / 0.5643 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3159, allocations: 179.5 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.3159, allocations: 11.94 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3159, allocations: 0 / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.316, allocations: 11.94 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.316, allocations: 11.98 kB / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3161, allocations: 0 / 0.5645 GB, free: 1.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.3162, allocations: 119.1 kB / 0.5646 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3162, allocations: 0 / 0.5646 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3164, allocations: 39.86 kB / 0.5646 GB, free: 0.9414 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001746/0.3182, allocations: 497.7 kB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3184, allocations: 51.97 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3184, allocations: 7.938 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.236e-05/0.3185, allocations: 31.91 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3188, allocations: 15.75 kB / 0.5652 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.3193, allocations: 199.2 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3197, allocations: 0.6924 MB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.3197, allocations: 19.44 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3197, allocations: 0 / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004125/0.3238, allocations: 1.974 MB / 0.568 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.907139671035111]