Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2349/0.2349, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4421, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004445/0.4465, allocations: 1.728 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.4493, allocations: 0.904 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.4494, allocations: 1.375 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.4498, allocations: 38.67 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.4501, allocations: 58.28 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.4504, allocations: 111 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.4506, allocations: 98.34 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4507, allocations: 7.984 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4508, allocations: 48.86 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.4509, allocations: 25.89 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.4509, allocations: 7.812 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.451, allocations: 46.16 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.4511, allocations: 22.77 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.4512, allocations: 31.28 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.4514, allocations: 119.6 kB / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4514, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4514, allocations: 0 / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4514, allocations: 0 / 0.552 GB, free: 10.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006966/0.4521, allocations: 339.4 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4522, allocations: 14.42 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.4522, allocations: 9.484 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.4526, allocations: 152.8 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4527, allocations: 2.531 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4527, allocations: 6.344 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.4529, allocations: 61.66 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4529, allocations: 0 / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4529, allocations: 1.125 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4529, allocations: 1.094 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.453, allocations: 25.64 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.4534, allocations: 261.1 kB / 0.5529 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.4536, allocations: 53.17 kB / 0.5529 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.4537, allocations: 16.27 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4537, allocations: 4.891 kB / 0.5529 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.4539, allocations: 73.7 kB / 0.553 GB, free: 9.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4539, allocations: 3.938 kB / 0.553 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006067/0.4545, allocations: 165.5 kB / 0.5532 GB, free: 9.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4545, allocations: 60.48 kB / 0.5532 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4547, allocations: 176.4 kB / 0.5534 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4548, allocations: 31.05 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.4548, allocations: 100.4 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.4549, allocations: 27.84 kB / 0.5536 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.4549, allocations: 27.95 kB / 0.5536 GB, free: 9.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4551, allocations: 325.8 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.4552, allocations: 23.45 kB / 0.5539 GB, free: 8.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.4552, allocations: 35.39 kB / 0.554 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.4554, allocations: 58.88 kB / 0.554 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4554, allocations: 5.25 kB / 0.554 GB, free: 8.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002196/0.4556, allocations: 102.8 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4556, allocations: 6.125 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4556, allocations: 0 / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4556, allocations: 1.25 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.703e-05/0.4557, allocations: 16.88 kB / 0.5541 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4557, allocations: 1.125 kB / 0.5541 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.4558, allocations: 18.17 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4558, allocations: 2.281 kB / 0.5542 GB, free: 8.754 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001278/0.4559, allocations: 127.3 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.456, allocations: 12.69 kB / 0.5543 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.4562, allocations: 119.5 kB / 0.5544 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4562, allocations: 1.156 kB / 0.5544 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4562, allocations: 384 / 0.5544 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4563, allocations: 7.922 kB / 0.5544 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4568, allocations: 352.8 kB / 0.5547 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4568, allocations: 13.36 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.4568, allocations: 7.062 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4568, allocations: 1.062 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4568, allocations: 6.312 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4568, allocations: 0 / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4568, allocations: 1.312 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.4571, allocations: 204.3 kB / 0.555 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.4571, allocations: 18.77 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4572, allocations: 6.531 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.4572, allocations: 1.375 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.4573, allocations: 16.08 kB / 0.555 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4573, allocations: 2.562 kB / 0.555 GB, free: 7.973 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4574, allocations: 141.8 kB / 0.5551 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4574, allocations: 0 / 0.5551 GB, free: 7.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.4577, allocations: 28.11 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001828/0.4595, allocations: 468.3 kB / 0.5556 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4597, allocations: 60.28 kB / 0.5557 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4597, allocations: 0 / 0.5557 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.4598, allocations: 27.62 kB / 0.5557 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.4602, allocations: 35.14 kB / 0.5557 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.4608, allocations: 217.9 kB / 0.5559 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4611, allocations: 0.7051 MB / 0.5566 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.564e-05/0.4612, allocations: 16.88 kB / 0.5567 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.4612, allocations: 15.25 kB / 0.5567 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4612, allocations: 1.406 kB / 0.5567 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.005975/0.4672, allocations: 1.767 MB / 0.5584 GB, free: 5.527 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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: 5.392241806723177]