Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001307/0.001307, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001391/0.001391, allocations: 165 kB / 24.56 MB, free: 24 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.958/0.958, allocations: 177.1 MB / 205 MB, free: 5.27 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.2527/0.2527, allocations: 32.8 MB / 294.3 MB, free: 1.23 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.844e-05, allocations: 8.641 kB / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005643/0.005671, allocations: 1.805 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.007431, allocations: 1.013 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.007529, allocations: 3.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.007989, allocations: 103.6 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.008438, allocations: 139.4 kB / 379.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.008715, allocations: 87.53 kB / 379.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.008976, allocations: 139.6 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.009106, allocations: 13.58 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.009268, allocations: 79.73 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.009419, allocations: 67.86 kB / 379.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.009442, allocations: 4 kB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.009594, allocations: 63.89 kB / 379.6 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.009673, allocations: 39.86 kB / 379.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.009731, allocations: 27.91 kB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.01003, allocations: 127.5 kB / 379.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.01004, allocations: 3.938 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01004, allocations: 4 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01004, allocations: 0 / 379.8 MB, free: 0.8672 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006436/0.01069, allocations: 495.5 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.01073, allocations: 8.031 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.01081, allocations: 24.8 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.01106, allocations: 165.3 kB / 380.5 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.01108, allocations: 4.375 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.01111, allocations: 12.38 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.01129, allocations: 74.86 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01131, allocations: 3.938 kB / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.01132, allocations: 0 / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01133, allocations: 0 / 380.6 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.01145, allocations: 28.03 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.01194, allocations: 327.6 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.01223, allocations: 74.91 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.01228, allocations: 19.69 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01229, allocations: 4.109 kB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.01245, allocations: 80.97 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.01245, allocations: 0 / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009079/0.01336, allocations: 273.1 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.01342, allocations: 55.41 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.01368, allocations: 270.8 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.01371, allocations: 29.7 kB / 381.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.01381, allocations: 170.8 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.01388, allocations: 51.72 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.01394, allocations: 43.36 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.01411, allocations: 0.5078 MB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.01417, allocations: 19.98 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-05/0.01425, allocations: 54.59 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.01438, allocations: 71.36 kB / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01438, allocations: 0 / 382.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002657/0.01465, allocations: 145.3 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01467, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01467, allocations: 0 / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.01469, allocations: 8.031 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.0148, allocations: 27.92 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01481, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.01486, allocations: 8 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.01488, allocations: 7.938 kB / 382.8 MB, free: 13.63 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 (16): * Single equations (assignments): 16 * 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.0001089/0.01499, allocations: 164.6 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01503, allocations: 27.86 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.0154, allocations: 163 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.01541, allocations: 8 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01542, allocations: 4 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.01542, allocations: 3.984 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.01639, allocations: 496.6 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.01639, allocations: 3.938 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.01647, allocations: 23.94 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.01648, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.0165, allocations: 15.92 kB / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.0165, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.0165, allocations: 0 / 383.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.01691, allocations: 311.2 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.01694, allocations: 19.84 kB / 384 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.01697, allocations: 8 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.01706, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.01712, allocations: 23.91 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.01714, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.0173, allocations: 189.4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0173, allocations: 0 / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003567/0.01765, allocations: 43.92 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001646/0.0193, allocations: 485.9 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.01953, allocations: 87.08 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.01953, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.01962, allocations: 47.61 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.02003, allocations: 48.03 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.02069, allocations: 317.8 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.123e-05/0.02076, allocations: 75.83 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.02083, allocations: 25.47 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.0209, allocations: 28.48 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0209, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.006429/0.02733, allocations: 2.548 MB / 387.9 MB, free: 8.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.0625831419602036]