Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0009368/0.0009368, 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.0008875/0.0008875, 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 0.9786/0.9786, 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.246/0.246, allocations: 32.8 MB / 294.3 MB, free: 1.238 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.668e-05, allocations: 9.062 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002334/0.002361, allocations: 1.778 MB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003578, allocations: 1.001 MB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.003663, allocations: 4 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.00397, allocations: 47.69 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.004279, allocations: 99.47 kB / 379 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.00447, allocations: 79.61 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004626, allocations: 103.7 kB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.004718, allocations: 11.98 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.0048, allocations: 55.78 kB / 379.3 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.00487, allocations: 23.91 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004885, allocations: 4 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.004963, allocations: 51.92 kB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.005013, allocations: 19.91 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.005051, allocations: 27.86 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.005219, allocations: 95.66 kB / 379.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005223, allocations: 4 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005224, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005228, allocations: 0 / 379.5 MB, free: 1.18 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.000476/0.005704, allocations: 455.8 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.005741, allocations: 8.031 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.005795, allocations: 16.83 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005971, allocations: 164.9 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.005991, allocations: 384 / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.006012, allocations: 4.375 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.006142, allocations: 58.94 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.006156, allocations: 7.938 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.006168, allocations: 3.984 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.006176, allocations: 0 / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.003e-05/0.006216, allocations: 15.94 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.006529, allocations: 283.8 kB / 380.5 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.006646, allocations: 51.17 kB / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.00669, allocations: 27.61 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.006702, allocations: 0 / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.962e-05/0.006801, allocations: 68.98 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.006803, allocations: 0 / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003877/0.00719, allocations: 157.3 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.007221, allocations: 51.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.007351, allocations: 237.9 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.007365, allocations: 33.69 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.007555, allocations: 154.8 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.007582, allocations: 35.77 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.007616, allocations: 23.38 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.00772, allocations: 0.4962 MB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.007746, allocations: 15.98 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.00778, allocations: 31.36 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.007837, allocations: 55.25 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007838, allocations: 384 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001057/0.007943, allocations: 89.56 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.007958, allocations: 10.06 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007962, allocations: 0 / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.007976, allocations: 8 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.008046, allocations: 16 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008052, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.008086, allocations: 11.94 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.008092, allocations: 0 / 382 MB, free: 14.41 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.728e-05/0.008169, allocations: 168.5 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.008185, allocations: 11.95 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.008337, allocations: 111.2 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.008339, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.008342, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.008346, allocations: 0 / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.008617, allocations: 400.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.008619, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.008648, allocations: 15.92 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.008651, allocations: 0 / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008659, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.008662, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.008663, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.008807, allocations: 259.5 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.00882, allocations: 15.89 kB / 383 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.008839, allocations: 8 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.008882, allocations: 3.984 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.008918, allocations: 7.984 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.008933, allocations: 8 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.009013, allocations: 176.1 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009013, allocations: 0 / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.009192, allocations: 31.92 kB / 383.2 MB, free: 13.12 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.0009341/0.01013, allocations: 434.9 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01025, allocations: 47.61 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01025, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.01029, allocations: 39.59 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01052, allocations: 32.7 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.01085, allocations: 222.2 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.01089, allocations: 71.33 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.342e-05/0.01092, allocations: 21.03 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01095, allocations: 20.48 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01096, allocations: 0 / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003827/0.01478, allocations: 2.013 MB / 386.1 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.9516024440526962]