Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009847/0.0009847, 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.0009041/0.0009041, allocations: 161 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 0.9177/0.9177, allocations: 177.1 MB / 205 MB, free: 5.242 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.2914/0.2914, allocations: 32.8 MB / 294.3 MB, free: 1.164 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.021e-05, allocations: 9.484 kB / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002006/0.002026, allocations: 1.715 MB / 377.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003113, allocations: 0.9936 MB / 378.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.003172, allocations: 4 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003445, allocations: 47.75 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.003698, allocations: 107.5 kB / 379 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.003825, allocations: 75.66 kB / 379 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003966, allocations: 107.6 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.004004, allocations: 8.219 kB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.768e-05/0.004082, allocations: 47.84 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.004149, allocations: 23.92 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004165, allocations: 4 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.00423, allocations: 31.97 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.004278, allocations: 27.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.004314, allocations: 27.81 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.004466, allocations: 103.6 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.00447, allocations: 7.984 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004471, allocations: 0 / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.004475, allocations: 0 / 379.4 MB, free: 1.219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005041/0.004979, allocations: 463.7 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005018, allocations: 12.03 kB / 379.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.005066, allocations: 12.84 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.005246, allocations: 169.2 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.005263, allocations: 4.375 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.005273, allocations: 8.312 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.005388, allocations: 54.94 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.005397, allocations: 3.938 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.005406, allocations: 4 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.005414, allocations: 0 / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.005443, allocations: 11.98 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.005588, allocations: 148.7 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.0057, allocations: 51.05 kB / 380.3 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.005731, allocations: 23.67 kB / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.005741, allocations: 0 / 380.4 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/0.005829, allocations: 65.05 kB / 380.4 MB, free: 72 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.00583, allocations: 0 / 380.4 MB, free: 72 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001933/0.006024, allocations: 89.52 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.006056, allocations: 59.34 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.006215, allocations: 274.7 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.006226, allocations: 25.7 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.006287, allocations: 166.9 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.006315, allocations: 11.91 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.006346, allocations: 31.34 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.006467, allocations: 0.5079 MB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.006488, allocations: 4 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.006516, allocations: 27.36 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.006564, allocations: 35.38 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006566, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.429e-05/0.00665, allocations: 77.53 kB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.006663, allocations: 8 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006668, allocations: 3.938 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006681, allocations: 7.969 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/0.006735, allocations: 12.3 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.00674, allocations: 3.938 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.006767, allocations: 8 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.006773, allocations: 4 kB / 381.8 MB, free: 14.64 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 (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 7.24e-05/0.006846, allocations: 164.5 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.00686, allocations: 15.91 kB / 381.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.006974, allocations: 90.75 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006975, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006979, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006982, allocations: 8 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.00708, allocations: 160.5 kB / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007081, allocations: 0 / 382.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.007098, allocations: 11.94 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.007099, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007106, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007107, allocations: 3.938 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007108, allocations: 0 / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.279e-05/0.007201, allocations: 120.3 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.007214, allocations: 11.91 kB / 382.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.00723, allocations: 4 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.007248, allocations: 7.938 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.007278, allocations: 11.98 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.007289, allocations: 0 / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.007374, allocations: 192.5 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007374, allocations: 0 / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001427/0.007517, allocations: 23.98 kB / 382.6 MB, free: 13.76 MB / 362.7 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 (6): * Single equations (assignments): 4 * 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.000724/0.008241, allocations: 387.8 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.008348, allocations: 43.66 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008349, allocations: 0 / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.08e-05/0.00838, allocations: 31.56 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.008557, allocations: 39.73 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.008872, allocations: 234.6 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.008907, allocations: 71.33 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.008936, allocations: 8.484 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.008962, allocations: 20.5 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008962, allocations: 0 / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003625/0.01259, allocations: 1.787 MB / 385.2 MB, free: 11.26 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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: 2.9278469691053033]