Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001158/0.001158, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00123/0.00123, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.012/1.012, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2513/0.2513, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.519e-05, allocations: 10.25 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002342/0.002367, allocations: 1.766 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003687, allocations: 1.005 MB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.003777, allocations: 4 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.004106, allocations: 51.69 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.004475, allocations: 103.5 kB / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.004726, allocations: 79.61 kB / 379.1 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004912, allocations: 103.7 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.005002, allocations: 8 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.005098, allocations: 63.75 kB / 379.3 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.005173, allocations: 23.92 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.005189, allocations: 4 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.005285, allocations: 47.91 kB / 379.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.00534, allocations: 27.86 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.005383, allocations: 19.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005582, allocations: 107.6 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.005585, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005586, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005591, allocations: 0 / 379.5 MB, free: 1.168 MB / 346.7 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.0005081/0.006099, allocations: 467.6 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.006138, allocations: 12.03 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.006196, allocations: 20.84 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.006371, allocations: 149.2 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.006391, allocations: 4.359 kB / 380.2 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.006411, allocations: 4.375 kB / 380.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.006547, allocations: 62.94 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006559, allocations: 3.938 kB / 380.2 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006569, allocations: 4 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.006577, allocations: 0 / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.006619, allocations: 19.92 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.006943, allocations: 295.8 kB / 380.5 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.007071, allocations: 51.22 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.007103, allocations: 15.62 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.007116, allocations: 4 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.007222, allocations: 68.94 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.007223, allocations: 0 / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004269/0.00765, allocations: 165.3 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.007682, allocations: 55.41 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.007839, allocations: 259.1 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.007853, allocations: 25.7 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.0082, allocations: 158.9 kB / 381.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.008236, allocations: 27.78 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.008275, allocations: 31.38 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.008393, allocations: 0.4962 MB / 381.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/0.008424, allocations: 15.92 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.008461, allocations: 35.36 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.367e-05/0.008525, allocations: 59.23 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.008527, allocations: 384 / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001194/0.008646, allocations: 97.52 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.008659, allocations: 4 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008664, allocations: 0 / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.008679, allocations: 4 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.008756, allocations: 16 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.008762, allocations: 0 / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.008795, allocations: 7.984 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.008802, allocations: 4 kB / 382.1 MB, free: 14.34 MB / 362.7 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 7.862e-05/0.008881, allocations: 175.6 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.008899, allocations: 15.91 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.009067, allocations: 111.2 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.00907, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.009073, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009077, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.009421, allocations: 404.9 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009423, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.009458, allocations: 15.94 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.009461, allocations: 0 / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.009471, allocations: 8.031 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.009474, allocations: 4 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009475, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.009621, allocations: 259.4 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.009636, allocations: 15.89 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.009654, allocations: 0 / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.009699, allocations: 8 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.009733, allocations: 7.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.009748, allocations: 4 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.97e-05/0.009838, allocations: 187.1 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009838, allocations: 4 kB / 383.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.01003, allocations: 23.94 kB / 383.3 MB, free: 13.04 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.001021/0.01105, allocations: 436.9 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.01118, allocations: 51.59 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01118, allocations: 4 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.01122, allocations: 31.61 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01148, allocations: 23.98 kB / 383.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.01186, allocations: 246 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.01191, allocations: 71.27 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.885e-05/0.01195, allocations: 16.97 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01199, allocations: 24.48 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01199, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.004113/0.0161, allocations: 2.013 MB / 386.2 MB, free: 10.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.1263577030040324]