Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001025/0.001025, allocations: 95.31 kB / 20.43 MB, free: 4.148 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.001065/0.001065, allocations: 165 kB / 23.79 MB, free: 0.7852 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.9642/0.9642, allocations: 158.6 MB / 185.6 MB, free: 2.902 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.1577/0.1577, 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.072e-05/4.391e-05, allocations: 2.312 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003142/0.003186, allocations: 1.699 MB / 349.4 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004783, allocations: 0.7804 MB / 350.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.004919, allocations: 4 kB / 350.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.005522, allocations: 51.75 kB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.005936, allocations: 63.69 kB / 350.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.006323, allocations: 83.7 kB / 350.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.006563, allocations: 91.64 kB / 350.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.006628, allocations: 7.984 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.006754, allocations: 43.84 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.006864, allocations: 23.91 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.006888, allocations: 4 kB / 350.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.007007, allocations: 39.86 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.007083, allocations: 27.92 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.007142, allocations: 23.86 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.007391, allocations: 95.66 kB / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.007397, allocations: 0 / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.0074, allocations: 0 / 350.8 MB, free: 6.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.007409, allocations: 0 / 350.8 MB, free: 6.312 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006753/0.008084, allocations: 463.8 kB / 351.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.008144, allocations: 8.031 kB / 351.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.948e-05/0.008223, allocations: 16.84 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.008466, allocations: 152.3 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.008496, allocations: 8.375 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.008511, allocations: 4.375 kB / 351.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.008703, allocations: 58.88 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.008717, allocations: 3.938 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.008731, allocations: 0 / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.008742, allocations: 0 / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.008789, allocations: 15.98 kB / 351.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.008996, allocations: 152.6 kB / 351.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.009143, allocations: 47.05 kB / 351.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.009187, allocations: 23.67 kB / 351.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.009204, allocations: 0 / 351.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.009362, allocations: 69.03 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.375e-06/0.009365, allocations: 0 / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002512/0.009616, allocations: 93.45 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.009651, allocations: 55.41 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.009824, allocations: 265.4 kB / 352.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.009838, allocations: 33.69 kB / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.009887, allocations: 154.9 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.00993, allocations: 23.83 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.00997, allocations: 27.38 kB / 352.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.01005, allocations: 0.5001 MB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.01008, allocations: 7.984 kB / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.01013, allocations: 27.38 kB / 353 MB, free: 3.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.0102, allocations: 39.55 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.0102, allocations: 4 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.01032, allocations: 73.59 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01034, allocations: 8 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01035, allocations: 3.969 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01036, allocations: 4 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.01046, allocations: 11.94 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01047, allocations: 4 kB / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.01051, allocations: 0 / 353.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01052, allocations: 11.98 kB / 353.1 MB, free: 3.754 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 (7): * Single equations (assignments): 7 * 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.65e-05/0.01059, allocations: 156.6 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.01061, allocations: 11.91 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.01076, allocations: 94.7 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01077, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.01077, allocations: 4 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01078, allocations: 7.938 kB / 353.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.01089, allocations: 152.6 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01089, allocations: 0 / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.01093, allocations: 4 kB / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01093, allocations: 0 / 353.5 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.01094, allocations: 4 kB / 353.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01094, allocations: 3.938 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01094, allocations: 0 / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.01107, allocations: 120.3 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01109, allocations: 11.91 kB / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01111, allocations: 4.188 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.01115, allocations: 15.92 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.01119, allocations: 7.938 kB / 353.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.01121, allocations: 4 kB / 353.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.0113, allocations: 188.4 kB / 353.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0113, allocations: 0 / 353.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01153, allocations: 27.92 kB / 353.9 MB, free: 2.875 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001056/0.01259, allocations: 392.9 kB / 354.3 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01273, allocations: 35.67 kB / 354.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01273, allocations: 0 / 354.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.01277, allocations: 27.62 kB / 354.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01302, allocations: 29.08 kB / 354.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.01342, allocations: 233.8 kB / 354.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.705e-05/0.01344, allocations: 67.33 kB / 354.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.364e-05/0.01348, allocations: 12.48 kB / 354.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.01351, allocations: 16.5 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01351, allocations: 0 / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Templates: time 0.003979/0.01749, allocations: 1.762 MB / 356.5 MB, free: 376 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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.251038177870214]