Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.00105/0.00105, 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.0009811/0.0009811, 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.9185/0.9185, 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.1334/0.1334, 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.938e-05/4.177e-05, allocations: 6.25 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002303/0.002345, allocations: 1.737 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.003226, allocations: 0.7998 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.003304, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.00368, allocations: 47.7 kB / 350.3 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.003898, allocations: 47.77 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.004074, allocations: 87.69 kB / 350.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.004213, allocations: 95.64 kB / 350.6 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004313, allocations: 16.22 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.004391, allocations: 51.83 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.004463, allocations: 19.92 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004479, allocations: 4 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.004554, allocations: 43.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.004604, allocations: 23.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.004641, allocations: 23.86 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.004802, allocations: 99.59 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004804, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.004806, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.00481, allocations: 0 / 350.8 MB, free: 6.266 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.0003959/0.005206, allocations: 447.9 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.005247, allocations: 8.031 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.005292, allocations: 8.891 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.005469, allocations: 160.3 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.005491, allocations: 4.375 kB / 351.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.005516, allocations: 4.328 kB / 351.5 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.005649, allocations: 62.94 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.00566, allocations: 3.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.005672, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.00568, allocations: 0 / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.005719, allocations: 15.98 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.006011, allocations: 279.8 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.665e-05/0.006108, allocations: 55.09 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.006138, allocations: 23.62 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.006154, allocations: 0 / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.552e-05/0.00624, allocations: 65.05 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006241, allocations: 0 / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004009/0.006642, allocations: 157.5 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.006666, allocations: 55.41 kB / 352.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.006786, allocations: 225.8 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.006794, allocations: 25.7 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.006835, allocations: 154.8 kB / 352.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.006863, allocations: 31.75 kB / 352.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.006895, allocations: 31.36 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.006975, allocations: 0.4962 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.006998, allocations: 8.188 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.00703, allocations: 43.34 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/0.007083, allocations: 51.3 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.007084, allocations: 4 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001059/0.00719, allocations: 89.58 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.007206, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.007211, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.007234, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.007316, allocations: 23.92 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.007322, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.007349, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007355, allocations: 4 kB / 353.3 MB, free: 3.539 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 5.488e-05/0.00741, allocations: 168.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.007424, allocations: 19.91 kB / 353.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.007572, allocations: 102.5 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.007576, allocations: 7.984 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.007582, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.007587, allocations: 0 / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.007837, allocations: 393 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.007839, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.007868, allocations: 11.98 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.00787, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.007879, allocations: 8.031 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00788, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.007881, allocations: 0 / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.008, allocations: 259.4 kB / 354.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.00801, allocations: 7.953 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.008028, allocations: 4 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.008069, allocations: 7.984 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.008105, allocations: 7.938 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.008119, allocations: 11.92 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.008179, allocations: 164 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008179, allocations: 0 / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008351, allocations: 31.94 kB / 354.5 MB, free: 2.273 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.0008723/0.009223, allocations: 433.2 kB / 354.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.009348, allocations: 55.53 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.00935, allocations: 0 / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.698e-05/0.009387, allocations: 31.67 kB / 355 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.009619, allocations: 31.89 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.009952, allocations: 221.8 kB / 355.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.009981, allocations: 71.33 kB / 355.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.01001, allocations: 16.47 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.01004, allocations: 20.5 kB / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01004, allocations: 0 / 355.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.003591/0.01363, allocations: 1.844 MB / 357.2 MB, free: 15.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.317082518711686]