Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001016/0.001016, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009906/0.0009906, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.915/0.915, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.169/0.169, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.253e-05, allocations: 16.16 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002343/0.002365, allocations: 1.734 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.003361, allocations: 0.7921 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.003438, allocations: 3.938 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.003755, allocations: 39.77 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.003963, allocations: 55.75 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.004149, allocations: 87.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.004304, allocations: 99.62 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.004406, allocations: 4.234 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.004484, allocations: 59.77 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.004556, allocations: 23.91 kB / 350.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.00458, allocations: 4 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.004661, allocations: 47.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.004717, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.004758, allocations: 15.94 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.004916, allocations: 99.59 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004918, allocations: 4 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004918, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.004922, allocations: 0 / 350.8 MB, free: 6.262 MB / 282.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.0003988/0.005321, allocations: 443.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005358, allocations: 12.03 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.005404, allocations: 8.891 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.005555, allocations: 148.4 kB / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.005575, allocations: 384 / 351.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.005607, allocations: 12.33 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005732, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.005742, allocations: 7.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005752, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.005759, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.005793, allocations: 11.98 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.006062, allocations: 283.8 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.107e-05/0.006153, allocations: 51.17 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.006182, allocations: 27.59 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.006198, allocations: 4 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/0.00628, allocations: 68.98 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.00628, allocations: 4 kB / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.006728, allocations: 157.6 kB / 352.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.006754, allocations: 51.41 kB / 352.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.006852, allocations: 224 kB / 352.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.006861, allocations: 29.7 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.006897, allocations: 150.9 kB / 352.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.006922, allocations: 31.73 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.00695, allocations: 23.38 kB / 352.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.007, allocations: 0.4962 MB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.007022, allocations: 11.98 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.00705, allocations: 35.39 kB / 353.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.007099, allocations: 63.3 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.0071, allocations: 0 / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.07e-05/0.007191, allocations: 81.72 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007203, allocations: 8 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007209, allocations: 4.016 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.007224, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.007307, allocations: 15.98 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.007314, allocations: 7.984 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.007344, allocations: 4.031 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.007351, allocations: 4 kB / 353.3 MB, free: 3.535 MB / 282.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.509e-05/0.007416, allocations: 168.5 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.007436, allocations: 15.91 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.0076, allocations: 98.39 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007602, allocations: 0 / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.007607, allocations: 7.984 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007611, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.007838, allocations: 385 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00784, allocations: 8.031 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.007865, allocations: 8 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007868, allocations: 0 / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.007877, allocations: 11.94 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007878, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007879, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.007979, allocations: 263.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.007989, allocations: 11.94 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.008004, allocations: 0 / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.008045, allocations: 8 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.008077, allocations: 7.984 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.008089, allocations: 11.94 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.008136, allocations: 164 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008136, allocations: 0 / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.008299, allocations: 27.94 kB / 354.5 MB, free: 2.277 MB / 282.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.000839/0.009138, allocations: 435 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.009256, allocations: 59.53 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009258, allocations: 0 / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.009296, allocations: 39.83 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.009544, allocations: 36.02 kB / 355.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.009884, allocations: 217.4 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.136e-05/0.009916, allocations: 63.34 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.009946, allocations: 16.48 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.009973, allocations: 12.5 kB / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009974, allocations: 0 / 355.4 MB, free: 1.445 MB / 282.7 MB Notification: Performance of Templates: time 0.003395/0.01337, allocations: 1.844 MB / 357.2 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.317496886011213]