Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.00143/0.00143, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001585/0.001585, allocations: 187.4 kB / 24.51 MB, free: 4.031 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.539/1.539, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.2439/0.2439, allocations: 44.91 MB / 353.5 MB, free: 11.8 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 497.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4587, allocations: 64.28 MB / 0.5489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003849/0.4625, allocations: 1.693 MB / 0.5505 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4643, allocations: 0.8789 MB / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.4644, allocations: 0 / 0.5514 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.4648, allocations: 68.72 kB / 0.5514 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.4651, allocations: 71.8 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.4655, allocations: 106.3 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.4657, allocations: 99.05 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.4658, allocations: 6.766 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.4659, allocations: 52.14 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.466, allocations: 41.06 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.466, allocations: 3.75 kB / 0.5518 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.4661, allocations: 38.75 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.4662, allocations: 22.7 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.4663, allocations: 23.53 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.4665, allocations: 105.3 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4665, allocations: 0 / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4665, allocations: 1.094 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4665, allocations: 0 / 0.552 GB, free: 10.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006961/0.4672, allocations: 337 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4673, allocations: 10.33 kB / 0.5523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4673, allocations: 13.72 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.4677, allocations: 148.1 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4677, allocations: 5.469 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.4677, allocations: 6.312 kB / 0.5525 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4679, allocations: 51.14 kB / 0.5525 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4679, allocations: 0 / 0.5525 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4679, allocations: 1.344 kB / 0.5525 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4679, allocations: 0 / 0.5525 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.468, allocations: 16.2 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.4682, allocations: 150.1 kB / 0.5527 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.4684, allocations: 53.5 kB / 0.5527 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.4685, allocations: 23.66 kB / 0.5528 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4685, allocations: 1.312 kB / 0.5528 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.4687, allocations: 60.67 kB / 0.5528 GB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4687, allocations: 0 / 0.5528 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003421/0.469, allocations: 102.3 kB / 0.5529 GB, free: 9.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.4691, allocations: 52.47 kB / 0.553 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.4693, allocations: 183.5 kB / 0.5532 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4693, allocations: 26.86 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.4694, allocations: 100.7 kB / 0.5533 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.4695, allocations: 18.25 kB / 0.5533 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.4695, allocations: 18.47 kB / 0.5533 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4697, allocations: 326.3 kB / 0.5536 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.4698, allocations: 20.08 kB / 0.5536 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.4699, allocations: 27.12 kB / 0.5537 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.47, allocations: 44.08 kB / 0.5537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.47, allocations: 3.938 kB / 0.5537 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001928/0.4702, allocations: 91.12 kB / 0.5538 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4702, allocations: 5.562 kB / 0.5538 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4702, allocations: 5.219 kB / 0.5538 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4702, allocations: 0 / 0.5538 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.4703, allocations: 12.91 kB / 0.5538 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4703, allocations: 1.188 kB / 0.5538 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.4704, allocations: 2.312 kB / 0.5538 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4704, allocations: 2.219 kB / 0.5538 GB, free: 8.965 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 (7): * Single equations (assignments): 7 * 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.0001295/0.4705, allocations: 131.1 kB / 0.554 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.4705, allocations: 12.47 kB / 0.554 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.4708, allocations: 89.27 kB / 0.554 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4708, allocations: 1.062 kB / 0.554 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4708, allocations: 3.984 kB / 0.5541 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4708, allocations: 0 / 0.5541 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.471, allocations: 156.1 kB / 0.5542 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.471, allocations: 0 / 0.5542 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.471, allocations: 7.812 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.471, allocations: 0 / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.471, allocations: 1.156 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.471, allocations: 1.125 kB / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.471, allocations: 0 / 0.5542 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.4712, allocations: 118.4 kB / 0.5543 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.4712, allocations: 6.547 kB / 0.5543 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4712, allocations: 9.172 kB / 0.5543 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.4713, allocations: 1.5 kB / 0.5543 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4713, allocations: 2.438 kB / 0.5543 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4713, allocations: 1.531 kB / 0.5543 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.4715, allocations: 145.8 kB / 0.5545 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4715, allocations: 4 kB / 0.5545 GB, free: 8.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.4717, allocations: 23.92 kB / 0.5545 GB, free: 8.336 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001567/0.4733, allocations: 420.4 kB / 0.5549 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.4734, allocations: 38.28 kB / 0.5549 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4734, allocations: 0 / 0.5549 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.4735, allocations: 19.09 kB / 0.555 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4738, allocations: 42.52 kB / 0.555 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.4743, allocations: 191.9 kB / 0.5552 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.4748, allocations: 0.7024 MB / 0.5559 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.235e-05/0.4748, allocations: 12.38 kB / 0.5559 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.4749, allocations: 16.58 kB / 0.5559 GB, free: 7.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4749, allocations: 1.406 kB / 0.5559 GB, free: 7.191 MB / 398.1 MB Notification: Performance of Templates: time 0.005341/0.4802, allocations: 1.506 MB / 0.5574 GB, free: 6.426 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.523958394303918]