Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001709/0.001709, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.001985/0.001985, allocations: 192.3 kB / 22.98 MB, free: 5.59 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.526/1.526, allocations: 225.6 MB / 251.6 MB, free: 13.29 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.2437/0.2437, allocations: 44.92 MB / 351.6 MB, free: 12.2 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 495.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4707, allocations: 64.26 MB / 0.5464 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004236/0.4749, allocations: 1.824 MB / 0.5482 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003958/0.4789, allocations: 1.629 MB / 0.5498 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.4791, allocations: 1.219 kB / 0.5498 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.4795, allocations: 53.62 kB / 0.5499 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.4801, allocations: 91.98 kB / 0.55 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.4808, allocations: 172 kB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.4812, allocations: 184.9 kB / 0.5503 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4813, allocations: 9.906 kB / 0.5503 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.4816, allocations: 74.17 kB / 0.5504 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.482, allocations: 88.56 kB / 0.5505 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.4821, allocations: 8.406 kB / 0.5505 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.4823, allocations: 58.58 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4825, allocations: 36.86 kB / 0.5506 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.4826, allocations: 60.14 kB / 0.5506 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.4832, allocations: 176.3 kB / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4832, allocations: 0 / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4832, allocations: 0 / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4833, allocations: 1.031 kB / 0.5508 GB, free: 9.828 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001451/0.4847, allocations: 460.3 kB / 0.5512 GB, free: 9.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.4848, allocations: 8.75 kB / 0.5512 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.4849, allocations: 21.39 kB / 0.5513 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.4856, allocations: 258.2 kB / 0.5515 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.4857, allocations: 6.562 kB / 0.5515 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.4857, allocations: 6.281 kB / 0.5515 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.486, allocations: 96.2 kB / 0.5516 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.4861, allocations: 0 / 0.5516 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.4861, allocations: 1.219 kB / 0.5516 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4861, allocations: 5.094 kB / 0.5516 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4862, allocations: 31.2 kB / 0.5516 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4866, allocations: 213 kB / 0.5518 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.4871, allocations: 101.2 kB / 0.5519 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.4872, allocations: 45.03 kB / 0.552 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.4873, allocations: 1.25 kB / 0.552 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.4876, allocations: 112 kB / 0.5521 GB, free: 8.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.4876, allocations: 4 kB / 0.5521 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007025/0.4883, allocations: 171.7 kB / 0.5523 GB, free: 8.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.4885, allocations: 129.5 kB / 0.5524 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.4889, allocations: 214.6 kB / 0.5526 GB, free: 8.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.489, allocations: 30.92 kB / 0.5526 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4891, allocations: 110.9 kB / 0.5527 GB, free: 7.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.4891, allocations: 32.42 kB / 0.5528 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4892, allocations: 27.16 kB / 0.5528 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.4895, allocations: 335.3 kB / 0.5531 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4896, allocations: 27.02 kB / 0.5531 GB, free: 7.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.4898, allocations: 74.23 kB / 0.5532 GB, free: 7.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.4901, allocations: 94.75 kB / 0.5533 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4901, allocations: 0 / 0.5533 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004379/0.4905, allocations: 133.2 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.4905, allocations: 4.375 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.4906, allocations: 1.219 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.4906, allocations: 1.844 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4908, allocations: 26.55 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4908, allocations: 5.125 kB / 0.5535 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.4909, allocations: 13.45 kB / 0.5535 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4909, allocations: 7.672 kB / 0.5535 GB, free: 7.332 MB / 398.1 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001877/0.4911, allocations: 132.3 kB / 0.5536 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.4912, allocations: 16.38 kB / 0.5536 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005071/0.4917, allocations: 161.4 kB / 0.5538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4917, allocations: 2.094 kB / 0.5538 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4917, allocations: 4 kB / 0.5538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4917, allocations: 1.094 kB / 0.5538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.492, allocations: 217.1 kB / 0.554 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.492, allocations: 1.094 kB / 0.554 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.4921, allocations: 10.33 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.4921, allocations: 1.375 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4921, allocations: 1.188 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4921, allocations: 1.062 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4921, allocations: 1.594 kB / 0.554 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.4926, allocations: 177.8 kB / 0.5542 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.4928, allocations: 93.5 kB / 0.5543 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.4928, allocations: 2.219 kB / 0.5543 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.4929, allocations: 3.312 kB / 0.5543 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.493, allocations: 12.45 kB / 0.5543 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.493, allocations: 4.531 kB / 0.5543 GB, free: 6.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.4933, allocations: 159 kB / 0.5544 GB, free: 6.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4933, allocations: 4 kB / 0.5544 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.4937, allocations: 36 kB / 0.5545 GB, free: 6.477 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002197/0.4959, allocations: 457.7 kB / 0.5549 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.4963, allocations: 81 kB / 0.555 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4963, allocations: 0 / 0.555 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.4965, allocations: 33.17 kB / 0.555 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.497, allocations: 70.03 kB / 0.5551 GB, free: 6.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.498, allocations: 271.2 kB / 0.5553 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.4987, allocations: 0.7241 MB / 0.556 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.4988, allocations: 26.72 kB / 0.5561 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.4989, allocations: 24.86 kB / 0.5561 GB, free: 5.223 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4989, allocations: 0 / 0.5561 GB, free: 5.223 MB / 398.1 MB Notification: Performance of Templates: time 0.01028/0.5092, allocations: 2.694 MB / 0.5587 GB, free: 2.953 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.545596697367728]