Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001137/0.001137, 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.001524/0.001524, 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 32.81 MB / 294.6 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.321e-05, allocations: 2.969 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002386/0.002409, allocations: 1.766 MB / 325.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003641, allocations: 1.005 MB / 326.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.003714, allocations: 0 / 326.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.004006, allocations: 39.72 kB / 326.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.004327, allocations: 103.5 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.004532, allocations: 79.59 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004693, allocations: 107.6 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.004776, allocations: 9.359 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.064e-05/0.004867, allocations: 55.84 kB / 326.5 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.004938, allocations: 31.89 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.004953, allocations: 4 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.005034, allocations: 47.86 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.005079, allocations: 19.92 kB / 326.6 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.005112, allocations: 23.92 kB / 326.6 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.005268, allocations: 99.59 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00527, allocations: 3.938 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005271, allocations: 0 / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.005275, allocations: 0 / 326.7 MB, free: 6.258 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.000389/0.005664, allocations: 325.4 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.005694, allocations: 12.03 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.005727, allocations: 12.92 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.00588, allocations: 150.1 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.005897, allocations: 4.375 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.005917, allocations: 384 / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.006021, allocations: 73.69 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.00603, allocations: 3.938 kB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.006037, allocations: 0 / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006042, allocations: 0 / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.006064, allocations: 8 kB / 327.3 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.006258, allocations: 170 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.878e-05/0.006347, allocations: 89.28 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.006368, allocations: 12.86 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.006379, allocations: 3.984 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/0.006461, allocations: 74.08 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.006462, allocations: 0 / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002925/0.006755, allocations: 117.5 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.006787, allocations: 51.41 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.006893, allocations: 180.3 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.006907, allocations: 29.7 kB / 328 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.006938, allocations: 100 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.006963, allocations: 27.73 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.006993, allocations: 29.69 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.007063, allocations: 318.8 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.00708, allocations: 10.83 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.007108, allocations: 29.69 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.421e-05/0.007153, allocations: 44.53 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.007154, allocations: 0 / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.548e-05/0.007229, allocations: 84.36 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.007242, allocations: 8 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007246, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.007257, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.007318, allocations: 15.98 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007321, allocations: 0 / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.007347, allocations: 4 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.007352, allocations: 0 / 328.6 MB, free: 4.129 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.362e-05/0.007416, allocations: 120.7 kB / 328.8 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.00743, allocations: 19.91 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.799e-05/0.007528, allocations: 75.12 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00753, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.007531, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007534, allocations: 0 / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.007749, allocations: 291.4 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00775, allocations: 0 / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.007777, allocations: 20.3 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007779, allocations: 4 kB / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.007784, allocations: 0 / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007787, allocations: 8.031 kB / 329.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007789, allocations: 4 kB / 329.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007909, allocations: 211 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.007922, allocations: 15.89 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.007938, allocations: 4 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.007976, allocations: 4 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.008, allocations: 7.984 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.00801, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.558e-05/0.008056, allocations: 60.69 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008056, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.008202, allocations: 27.88 kB / 329.5 MB, free: 3.203 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.001303/0.009504, allocations: 0.5883 MB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.009603, allocations: 36.78 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.009607, allocations: 4.062 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.009636, allocations: 28.8 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.009815, allocations: 35.16 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.01013, allocations: 223.6 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.01017, allocations: 71.33 kB / 330.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.01021, allocations: 12.98 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.01027, allocations: 71.42 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01027, allocations: 0 / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of Templates: time 0.003848/0.01412, allocations: 2.017 MB / 332.6 MB, free: 412 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.007503322325647]