Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.0009875/0.0009875, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009848/0.0009848, allocations: 167.6 kB / 24.99 MB, free: 8.25 MB / 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2929/0.2929, allocations: 34.25 MB / 296 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.1 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.049e-05/4.234e-05, allocations: 5.969 kB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003044/0.003086, allocations: 1.937 MB / 380.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004542, allocations: 1.099 MB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.004649, allocations: 7.875 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.005082, allocations: 223.3 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.005484, allocations: 219 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.005723, allocations: 119.5 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.006035, allocations: 267.2 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.006165, allocations: 17.95 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.006327, allocations: 147.7 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.006494, allocations: 159.6 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.006517, allocations: 8 kB / 382.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.006627, allocations: 67.91 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.006703, allocations: 63.75 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.006759, allocations: 43.8 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.00703, allocations: 195.1 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007034, allocations: 4 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007035, allocations: 0 / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007041, allocations: 0 / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007692/0.00781, allocations: 0.608 MB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.00785, allocations: 8.031 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.01095, allocations: 36.75 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.01123, allocations: 220.6 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.01125, allocations: 8.375 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.01128, allocations: 4.375 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.01149, allocations: 114.3 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.0115, allocations: 11.89 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.01152, allocations: 0 / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.01152, allocations: 3.984 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.117e-05/0.0116, allocations: 35.92 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.01213, allocations: 0.514 MB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.01242, allocations: 126.1 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.01248, allocations: 35.48 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.0125, allocations: 4 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.01281, allocations: 120.3 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.01282, allocations: 4 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009299/0.01375, allocations: 464.7 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01379, allocations: 85.05 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003346/0.01714, allocations: 398.3 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01716, allocations: 33.69 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01728, allocations: 219.3 kB / 385.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.01733, allocations: 75.31 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/0.0174, allocations: 51.36 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.01756, allocations: 0.5313 MB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.01763, allocations: 27.98 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.01773, allocations: 74.72 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.0179, allocations: 130.8 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0179, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000287/0.01819, allocations: 197.3 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01821, allocations: 4 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01821, allocations: 8.062 kB / 386.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01823, allocations: 3.984 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.01835, allocations: 47.92 kB / 386.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.01836, allocations: 3.938 kB / 386.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.01843, allocations: 7.984 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01844, allocations: 13.17 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001034/0.01855, allocations: 164.6 kB / 387 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.01859, allocations: 39.77 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.01895, allocations: 232.3 kB / 387.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.01895, allocations: 4 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01896, allocations: 7.938 kB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01897, allocations: 7.984 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.02282, allocations: 0.7527 MB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.02282, allocations: 8 kB / 388 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.0229, allocations: 31.92 kB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.02291, allocations: 4 kB / 388.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.02293, allocations: 8 kB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.02293, allocations: 8.109 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.02293, allocations: 4 kB / 388.1 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.02332, allocations: 0.512 MB / 388.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.02335, allocations: 31.77 kB / 388.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.02339, allocations: 11.98 kB / 388.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.02351, allocations: 8 kB / 388.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.02357, allocations: 19.97 kB / 388.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.02359, allocations: 8 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.0238, allocations: 282.9 kB / 389 MB, free: 7.566 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0238, allocations: 0 / 389 MB, free: 7.566 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.02417, allocations: 55.94 kB / 389 MB, free: 7.512 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001325/0.02549, allocations: 495.1 kB / 389.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003254/0.02874, allocations: 132.1 kB / 389.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02875, allocations: 4.062 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.02886, allocations: 71.53 kB / 389.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.02935, allocations: 69 kB / 389.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.03007, allocations: 0.5012 MB / 390.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/0.03015, allocations: 96.3 kB / 390.4 MB, free: 6.273 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.03024, allocations: 42.17 kB / 390.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.0303, allocations: 28.5 kB / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0303, allocations: 0 / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of Templates: time 0.01244/0.04274, allocations: 3.341 MB / 393.8 MB, free: 2.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.3721124639268965]