Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0009885/0.0009885, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009702/0.0009702, allocations: 161 kB / 24.56 MB, free: 40 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.9554/0.9554, allocations: 177.1 MB / 205 MB, free: 5.637 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.2638/0.2638, allocations: 32.81 MB / 294.3 MB, free: 1.305 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.663e-05, allocations: 10.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002837/0.002863, allocations: 1.665 MB / 377.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008708/0.003734, allocations: 0.5454 MB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.003789, allocations: 4 kB / 378.3 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.004045, allocations: 107.6 kB / 378.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.004288, allocations: 123.5 kB / 378.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.004497, allocations: 115.6 kB / 378.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.004631, allocations: 95.67 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.004708, allocations: 8 kB / 378.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.004767, allocations: 55.88 kB / 378.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/0.004864, allocations: 71.84 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.004877, allocations: 4 kB / 378.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.004949, allocations: 47.91 kB / 378.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.004991, allocations: 23.92 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.005017, allocations: 15.88 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.005158, allocations: 99.59 kB / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.00516, allocations: 0 / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005161, allocations: 0 / 379 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005165, allocations: 0 / 379 MB, free: 1.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003783/0.005543, allocations: 463.8 kB / 379.5 MB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005578, allocations: 8.031 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.005622, allocations: 16.84 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.005753, allocations: 149.2 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.005763, allocations: 4.375 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.00579, allocations: 4.375 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005895, allocations: 58.94 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005905, allocations: 4.125 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.005917, allocations: 8.125 kB / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005923, allocations: 0 / 379.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005954, allocations: 11.98 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.00624, allocations: 307.7 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.006302, allocations: 42.98 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.006325, allocations: 19.62 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.006342, allocations: 4 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.006361, allocations: 33.39 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.006361, allocations: 0 / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004866/0.006848, allocations: 173.6 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.006874, allocations: 59.41 kB / 380.3 MB, free: 196 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.007023, allocations: 263.1 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.007033, allocations: 29.7 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.007085, allocations: 158.9 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.007107, allocations: 27.75 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.007137, allocations: 31.36 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.007244, allocations: 0.5 MB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.007264, allocations: 11.94 kB / 381.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.007282, allocations: 15.98 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.007325, allocations: 39.91 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.007326, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.994e-05/0.007406, allocations: 81.59 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.007416, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.007419, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.007429, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.007495, allocations: 23.92 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.007499, allocations: 0 / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.007517, allocations: 4 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.007523, allocations: 4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.546e-05/0.007589, allocations: 168.5 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.007609, allocations: 15.91 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.007744, allocations: 91.14 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007746, allocations: 0 / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00775, allocations: 0 / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.007754, allocations: 3.984 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.008041, allocations: 381 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.008043, allocations: 3.938 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.008081, allocations: 23.98 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.008084, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.008091, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.008093, allocations: 4.031 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008094, allocations: 4 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.00822, allocations: 243.4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.008231, allocations: 11.91 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.008244, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.008276, allocations: 4 kB / 382.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.008309, allocations: 11.92 kB / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.008313, allocations: 0 / 382.5 MB, free: 13.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.383e-05/0.008387, allocations: 187.1 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008387, allocations: 0 / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.008543, allocations: 23.94 kB / 382.7 MB, free: 13.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001118/0.009661, allocations: 442.4 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.009759, allocations: 47.59 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009761, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.009789, allocations: 23.67 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.009986, allocations: 23.98 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.01031, allocations: 253.4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.01035, allocations: 75.39 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.844e-05/0.01039, allocations: 21.02 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.01041, allocations: 20.5 kB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01041, allocations: 0 / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.003001/0.01341, allocations: 1.521 MB / 385.1 MB, free: 11.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.1481315158307552]