Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001389/0.001389, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001429/0.001429, allocations: 166.2 kB / 24.99 MB, free: 8.336 MB / 18.57 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.107/1.107, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2619/0.2619, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.384e-05, allocations: 6.25 kB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003221/0.003255, allocations: 1.934 MB / 380.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.004832, allocations: 1.103 MB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004946, allocations: 7.938 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.005422, allocations: 255.2 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.005891, allocations: 231 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.006207, allocations: 123.5 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.006555, allocations: 283.2 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.006723, allocations: 17.95 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.006899, allocations: 159.6 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.007094, allocations: 195.5 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.007117, allocations: 8 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.007229, allocations: 67.86 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.007312, allocations: 67.7 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.007373, allocations: 43.8 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.007646, allocations: 199.2 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007651, allocations: 7.938 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.007653, allocations: 4 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007659, allocations: 3.938 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006789/0.008338, allocations: 0.6157 MB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.00838, allocations: 12.03 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/0.008455, allocations: 36.7 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.008723, allocations: 235 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.008749, allocations: 12.3 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.008775, allocations: 8.375 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.008995, allocations: 121.3 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.009011, allocations: 11.94 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.009024, allocations: 0 / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.009033, allocations: 0 / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.009099, allocations: 35.91 kB / 383.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.009608, allocations: 0.522 MB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.009896, allocations: 114.1 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.009949, allocations: 35.48 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.009967, allocations: 8 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.01014, allocations: 128.2 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.01015, allocations: 0 / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000932/0.01108, allocations: 472.7 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.01113, allocations: 89.05 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.01143, allocations: 430.8 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01146, allocations: 33.7 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.01158, allocations: 223.3 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.01164, allocations: 75.39 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.01169, allocations: 55.3 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005189/0.01221, allocations: 0.5274 MB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.01227, allocations: 31.92 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.01235, allocations: 82.7 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.01249, allocations: 122.9 kB / 386.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01249, allocations: 0 / 386.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002467/0.01274, allocations: 209.3 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.01276, allocations: 10.03 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01276, allocations: 0 / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01278, allocations: 0 / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01289, allocations: 43.92 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.0129, allocations: 3.938 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.01295, allocations: 11.98 kB / 387.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01296, allocations: 8 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001021/0.01306, allocations: 172.5 kB / 387.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.0131, allocations: 47.75 kB / 387.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.01341, allocations: 241.3 kB / 387.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.01341, allocations: 4 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01342, allocations: 3.938 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01342, allocations: 0 / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.01403, allocations: 0.7645 MB / 388.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01403, allocations: 4 kB / 388.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.0141, allocations: 31.92 kB / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.0141, allocations: 4.125 kB / 388.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01412, allocations: 16 kB / 388.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01412, allocations: 3.938 kB / 388.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01412, allocations: 4 kB / 388.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01444, allocations: 0.5091 MB / 388.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.01447, allocations: 31.77 kB / 388.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.0145, allocations: 8 kB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.01459, allocations: 11.98 kB / 388.9 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.01464, allocations: 19.91 kB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.01466, allocations: 12 kB / 388.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.01485, allocations: 303 kB / 389.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01485, allocations: 0 / 389.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.0151, allocations: 51.94 kB / 389.3 MB, free: 7.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001109/0.01621, allocations: 490.3 kB / 389.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.01643, allocations: 134.2 kB / 389.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01643, allocations: 0 / 389.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.01651, allocations: 75.53 kB / 390 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.01689, allocations: 74.92 kB / 390 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.01756, allocations: 0.5209 MB / 390.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01764, allocations: 108.3 kB / 390.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.01771, allocations: 41.91 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.01777, allocations: 36.44 kB / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01777, allocations: 0 / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of Templates: time 0.006705/0.02447, allocations: 3.363 MB / 394.1 MB, free: 2.625 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3844277621246874]