Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001501/0.001501, allocations: 83.91 kB / 20.68 MB, free: 1.047 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.001564/0.001564, allocations: 167.6 kB / 23.96 MB, free: 4.18 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.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.21/0.21, allocations: 32.82 MB / 293.5 MB, free: 20 kB / 270.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.149e-05, allocations: 2.281 kB / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003312/0.003344, allocations: 1.673 MB / 441.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.004597, allocations: 0.5647 MB / 442.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.004666, allocations: 0 / 442.3 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.004945, allocations: 51.73 kB / 442.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.005259, allocations: 91.55 kB / 442.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.005714, allocations: 189.9 kB / 442.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.005897, allocations: 87.77 kB / 442.8 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.006012, allocations: 16.2 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.006098, allocations: 43.91 kB / 442.8 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.006209, allocations: 39.88 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.00623, allocations: 4 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.006342, allocations: 55.86 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.538e-05/0.006427, allocations: 27.91 kB / 442.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.006467, allocations: 11.94 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006703, allocations: 119.5 kB / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006707, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006707, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.006713, allocations: 0 / 443.1 MB, free: 5.148 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005782/0.007291, allocations: 333.7 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.007336, allocations: 12.03 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.007387, allocations: 12.84 kB / 443.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.007617, allocations: 144.6 kB / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.007632, allocations: 384 / 443.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.007666, allocations: 8.375 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.007899, allocations: 66.22 kB / 443.6 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.007915, allocations: 4.125 kB / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.00793, allocations: 4.125 kB / 443.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.007937, allocations: 4 kB / 443.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.008102, allocations: 47.89 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.008615, allocations: 256.5 kB / 443.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.008902, allocations: 62.52 kB / 444 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.008988, allocations: 24.97 kB / 444 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.009016, allocations: 4 kB / 444 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.009054, allocations: 30.56 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.009056, allocations: 0 / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.00163/0.01069, allocations: 433 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.0108, allocations: 51.41 kB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.011, allocations: 182.1 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.01103, allocations: 33.69 kB / 444.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.0111, allocations: 96.14 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.01115, allocations: 39.64 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01119, allocations: 29.66 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01136, allocations: 330.8 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.01151, allocations: 56.52 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.01165, allocations: 59.83 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.01196, allocations: 124.8 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01196, allocations: 0 / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003712/0.01233, allocations: 165.6 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.01235, allocations: 4 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.01236, allocations: 4 kB / 445.6 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01238, allocations: 3.938 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01254, allocations: 31.91 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.01255, allocations: 4 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.01261, allocations: 7.984 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.01263, allocations: 8 kB / 445.7 MB, free: 2.355 MB / 366.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 (11): * Single equations (assignments): 11 * 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 0.0001371/0.01277, allocations: 134.4 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.01281, allocations: 15.91 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.01331, allocations: 182.4 kB / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01331, allocations: 0 / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01331, allocations: 0 / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01332, allocations: 0 / 446 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.01416, allocations: 435.7 kB / 446.4 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01416, allocations: 4 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01428, allocations: 31.91 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01428, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.0143, allocations: 11.94 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01431, allocations: 3.938 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01431, allocations: 0 / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005395/0.01485, allocations: 277.7 kB / 446.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.01487, allocations: 7.953 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.01489, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.01499, allocations: 19.86 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.01503, allocations: 11.98 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.01504, allocations: 0 / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.01517, allocations: 138.3 kB / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01517, allocations: 96 / 446.9 MB, free: 1.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000289/0.01546, allocations: 39.86 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002011/0.01747, allocations: 491.3 kB / 447.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.01787, allocations: 135.8 kB / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01787, allocations: 0 / 447.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.01806, allocations: 63.89 kB / 447.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.01843, allocations: 18.31 kB / 447.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.01925, allocations: 311.4 kB / 448 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.01943, allocations: 104.8 kB / 448.1 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.01954, allocations: 28.45 kB / 448.1 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.01959, allocations: 24.48 kB / 448.1 MB, free: 0 / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.01959, allocations: 0 / 448.1 MB, free: 0 / 366.1 MB Notification: Performance of Templates: time 0.1751/0.1947, allocations: 1.622 MB / 449.7 MB, free: 21.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 4.793988700956106]