Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001412/0.001412, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001639/0.001639, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 0.986/0.986, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2876/0.2876, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.4 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.385e-05, allocations: 3.812 kB / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.005846/0.005869, allocations: 1.809 MB / 327.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004467/0.01034, allocations: 1.006 MB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.01041, allocations: 4 kB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.01069, allocations: 39.7 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.01095, allocations: 91.48 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.01112, allocations: 87.59 kB / 328.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.01129, allocations: 103.7 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.01136, allocations: 8 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.178e-05/0.01145, allocations: 51.78 kB / 328.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.01153, allocations: 31.89 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.01155, allocations: 8 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.01163, allocations: 43.92 kB / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.01168, allocations: 27.86 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.01172, allocations: 20.42 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.01189, allocations: 95.66 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.01189, allocations: 0 / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.01189, allocations: 0 / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.0119, allocations: 0 / 328.8 MB, free: 4.148 MB / 298.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.0003798/0.01228, allocations: 329.4 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01231, allocations: 8.031 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.01235, allocations: 12.92 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.01252, allocations: 151.4 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.01253, allocations: 384 / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.01255, allocations: 4.375 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.01265, allocations: 65.77 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01266, allocations: 7.922 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.01267, allocations: 4 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.01268, allocations: 0 / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.0127, allocations: 7.938 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.01292, allocations: 166 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.01301, allocations: 89.28 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.01304, allocations: 8.859 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.01305, allocations: 4 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.049e-05/0.01314, allocations: 70.08 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.01314, allocations: 4 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003002/0.01344, allocations: 109.5 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.01347, allocations: 55.41 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01359, allocations: 177.3 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01361, allocations: 25.7 kB / 330.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.01365, allocations: 108.1 kB / 330.2 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.01368, allocations: 19.78 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.01372, allocations: 25.7 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.01381, allocations: 326.8 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.01383, allocations: 10.83 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.01386, allocations: 17.72 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.01391, allocations: 48.44 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01391, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.349e-05/0.014, allocations: 72.44 kB / 330.7 MB, free: 2.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01402, allocations: 8.031 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.01402, allocations: 0 / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01403, allocations: 7.938 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.0141, allocations: 19.92 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.01411, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.01414, allocations: 8 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.01415, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.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 6.845e-05/0.01421, allocations: 116.7 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.01423, allocations: 12.3 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.01434, allocations: 79.08 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01435, allocations: 4 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01435, allocations: 0 / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01435, allocations: 7.984 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.0146, allocations: 303.5 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.0146, allocations: 0 / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.01463, allocations: 11.98 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01463, allocations: 0 / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.01464, allocations: 4 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01464, allocations: 3.984 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01464, allocations: 0 / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01476, allocations: 223 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.01477, allocations: 7.953 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01479, allocations: 4 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.572e-05/0.01484, allocations: 3.984 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.01487, allocations: 4 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.01488, allocations: 11.98 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.81e-05/0.01493, allocations: 47.59 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01493, allocations: 0 / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.01514, allocations: 27.92 kB / 331.6 MB, free: 1.113 MB / 298.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.003045/0.01818, allocations: 0.5702 MB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01836, allocations: 44.77 kB / 332.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.01837, allocations: 3.938 kB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.01841, allocations: 32.91 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.01872, allocations: 23.92 kB / 332.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.01918, allocations: 223.7 kB / 332.5 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01924, allocations: 67.33 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.01929, allocations: 21.27 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.01938, allocations: 71.36 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01938, allocations: 0 / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of Templates: time 0.004668/0.02405, allocations: 2.015 MB / 334.6 MB, free: 14.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.949409445747733]