Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001197/0.001197, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.00112/0.00112, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 1.023/1.023, allocations: 158.6 MB / 186 MB, free: 2.781 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.1352/0.1352, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.864e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002225/0.002243, allocations: 1.719 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003268, allocations: 0.792 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.003341, allocations: 4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.003637, allocations: 43.72 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.003839, allocations: 51.75 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.004064, allocations: 83.7 kB / 350.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.004199, allocations: 107.5 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.004282, allocations: 4.234 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.004359, allocations: 47.91 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.004431, allocations: 35.89 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.004448, allocations: 4 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.004524, allocations: 39.92 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.004576, allocations: 27.84 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.004607, allocations: 15.94 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.00474, allocations: 99.59 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004742, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004742, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004747, allocations: 0 / 351.3 MB, free: 6.004 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.0002853/0.005032, allocations: 443.9 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.005062, allocations: 12.03 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.005089, allocations: 12.89 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.005189, allocations: 148.4 kB / 351.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.005201, allocations: 4.375 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.005215, allocations: 4.328 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.005291, allocations: 62.94 kB / 351.9 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.0053, allocations: 3.938 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.005305, allocations: 3.938 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.00531, allocations: 0 / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.005332, allocations: 11.98 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.005506, allocations: 264.4 kB / 352.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.005586, allocations: 51.11 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.005607, allocations: 23.67 kB / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.005619, allocations: 0 / 352.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.311e-05/0.005682, allocations: 68.97 kB / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.005683, allocations: 0 / 352.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002611/0.005944, allocations: 133.4 kB / 352.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.005963, allocations: 51.41 kB / 352.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.006041, allocations: 224 kB / 352.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.006048, allocations: 33.7 kB / 352.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.00608, allocations: 146.9 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.006102, allocations: 31.7 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.006128, allocations: 27.38 kB / 353 MB, free: 4.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.006174, allocations: 0.5001 MB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.006188, allocations: 11.98 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.006211, allocations: 27.38 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.006249, allocations: 43.36 kB / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.00625, allocations: 0 / 353.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.015e-05/0.00632, allocations: 93.55 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.00633, allocations: 4 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.006335, allocations: 4.062 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.006344, allocations: 4 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.006397, allocations: 15.94 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.0064, allocations: 3.984 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.006424, allocations: 4 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006429, allocations: 0 / 353.7 MB, free: 3.355 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.229e-05/0.006481, allocations: 164.6 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.006496, allocations: 23.88 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.006598, allocations: 98.38 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006599, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006601, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006604, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.006781, allocations: 361.6 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006782, allocations: 3.938 kB / 354.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.006802, allocations: 8 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006804, allocations: 4.359 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006811, allocations: 8 kB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006812, allocations: 8.031 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006813, allocations: 0 / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.006907, allocations: 255.4 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.006916, allocations: 11.94 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.00693, allocations: 4 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.006967, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.00699, allocations: 7.984 kB / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.006999, allocations: 7.938 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.007038, allocations: 160 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007038, allocations: 0 / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.007198, allocations: 27.92 kB / 354.8 MB, free: 2.145 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.0008218/0.008019, allocations: 434.7 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.008097, allocations: 51.53 kB / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008098, allocations: 0 / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.008125, allocations: 27.83 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.008322, allocations: 35.97 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.008588, allocations: 225.4 kB / 355.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.00862, allocations: 71.33 kB / 355.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.008648, allocations: 8.5 kB / 355.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.008703, allocations: 86.19 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008703, allocations: 0 / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Templates: time 0.003356/0.01206, allocations: 2.02 MB / 357.8 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0680332481861115]