Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001885/0.001885, allocations: 100.6 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.002283/0.002283, 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.612/1.612, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2674/0.2674, allocations: 44.9 MB / 353.5 MB, free: 11.85 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 497.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4375, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003481/0.441, allocations: 1.736 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.4427, allocations: 0.9025 MB / 0.5515 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.4428, allocations: 1.188 kB / 0.5515 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.4431, allocations: 38.84 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.4433, allocations: 53.83 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.4437, allocations: 115.2 kB / 0.5517 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.4439, allocations: 97.14 kB / 0.5517 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.444, allocations: 8.625 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.4441, allocations: 44.78 kB / 0.5518 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.4442, allocations: 29.38 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.4442, allocations: 4 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.4443, allocations: 42.84 kB / 0.5519 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.056e-05/0.4443, allocations: 31.62 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.4444, allocations: 34.27 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4447, allocations: 114.6 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4447, allocations: 1.219 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4447, allocations: 0 / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4447, allocations: 0 / 0.552 GB, free: 10.71 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.0006056/0.4453, allocations: 339 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.4453, allocations: 14.08 kB / 0.5524 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.4454, allocations: 13.31 kB / 0.5524 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.4456, allocations: 150.2 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4457, allocations: 5.5 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.4457, allocations: 6.406 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4458, allocations: 53.45 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4458, allocations: 1.125 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.4459, allocations: 0 / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4459, allocations: 1.344 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.4459, allocations: 18.17 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.4463, allocations: 264.8 kB / 0.5529 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.4465, allocations: 60.84 kB / 0.5529 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.4466, allocations: 16.36 kB / 0.5529 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4466, allocations: 1.312 kB / 0.5529 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.4468, allocations: 68.73 kB / 0.553 GB, free: 9.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4468, allocations: 0 / 0.553 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.4473, allocations: 174.2 kB / 0.5532 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4474, allocations: 52.47 kB / 0.5532 GB, free: 9.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.4476, allocations: 184.8 kB / 0.5534 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4476, allocations: 29.64 kB / 0.5534 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.4477, allocations: 100.8 kB / 0.5535 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.4477, allocations: 24.64 kB / 0.5536 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.4477, allocations: 31.55 kB / 0.5536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4479, allocations: 326.2 kB / 0.5539 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.4479, allocations: 16.03 kB / 0.5539 GB, free: 8.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.448, allocations: 35.05 kB / 0.5539 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.4481, allocations: 67.42 kB / 0.554 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4481, allocations: 0 / 0.554 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.4483, allocations: 107.3 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4483, allocations: 5.75 kB / 0.5541 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4483, allocations: 0 / 0.5541 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4484, allocations: 5.109 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.4484, allocations: 24.94 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4485, allocations: 1.094 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.4485, allocations: 6.156 kB / 0.5542 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4485, allocations: 3.281 kB / 0.5542 GB, free: 8.77 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.0001144/0.4486, allocations: 134.4 kB / 0.5543 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.4486, allocations: 13.16 kB / 0.5543 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4489, allocations: 111.7 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4489, allocations: 1.219 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4489, allocations: 0 / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4489, allocations: 3.938 kB / 0.5544 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.4494, allocations: 361.8 kB / 0.5548 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4494, allocations: 4.031 kB / 0.5548 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.4494, allocations: 7.094 kB / 0.5548 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4494, allocations: 5.203 kB / 0.5548 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4494, allocations: 5.969 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4494, allocations: 1.062 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4494, allocations: 0 / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4497, allocations: 204.3 kB / 0.555 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.4497, allocations: 16.34 kB / 0.555 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.4498, allocations: 8.969 kB / 0.555 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.4498, allocations: 6.391 kB / 0.555 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4499, allocations: 3.156 kB / 0.555 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4499, allocations: 7.641 kB / 0.555 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.45, allocations: 144.8 kB / 0.5551 GB, free: 7.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.45, allocations: 0 / 0.5551 GB, free: 7.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4503, allocations: 24.72 kB / 0.5552 GB, free: 7.879 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.001665/0.4519, allocations: 473.9 kB / 0.5556 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.4521, allocations: 51.89 kB / 0.5557 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4521, allocations: 0 / 0.5557 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.4522, allocations: 31.39 kB / 0.5557 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.4526, allocations: 31.72 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.453, allocations: 222 kB / 0.5559 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4534, allocations: 0.708 MB / 0.5566 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.4534, allocations: 17.31 kB / 0.5567 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.4535, allocations: 15.66 kB / 0.5567 GB, free: 6.684 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4535, allocations: 0 / 0.5567 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Templates: time 0.005094/0.4586, allocations: 1.751 MB / 0.5584 GB, free: 5.57 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.581475771032274]