Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001229/0.001229, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001226/0.001226, allocations: 169.9 kB / 24.91 MB, free: 9.195 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.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2457/0.2457, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.431e-05, allocations: 9.516 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002362/0.002386, allocations: 1.635 MB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003677, allocations: 1.289 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.00374, allocations: 0 / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.003957, allocations: 23.84 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.004307, allocations: 91.48 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.004635, allocations: 87.64 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.004805, allocations: 72.45 kB / 328.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.004897, allocations: 15.92 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.004979, allocations: 35.89 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.005081, allocations: 19.92 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.005095, allocations: 4 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.005246, allocations: 95.81 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.005286, allocations: 11.94 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.005311, allocations: 15.97 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005508, allocations: 131.5 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005511, allocations: 0 / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005512, allocations: 0 / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005516, allocations: 4 kB / 328.8 MB, free: 4.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003479/0.005864, allocations: 297.7 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.005902, allocations: 12.03 kB / 329.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.005935, allocations: 8.922 kB / 329.1 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006085, allocations: 129.7 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.006094, allocations: 384 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.006113, allocations: 384 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006235, allocations: 98.36 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.006243, allocations: 4.125 kB / 329.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.00625, allocations: 8.062 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.006255, allocations: 4 kB / 329.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.006274, allocations: 4 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.006474, allocations: 171.1 kB / 329.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.006601, allocations: 26.58 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.006615, allocations: 8.953 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.006632, allocations: 7.922 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.006653, allocations: 34.56 kB / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.006655, allocations: 0 / 329.6 MB, free: 3.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002793/0.006934, allocations: 82.16 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.006972, allocations: 85.11 kB / 329.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.007067, allocations: 144.3 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.007077, allocations: 29.7 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.007108, allocations: 88.09 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.007127, allocations: 23.81 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.007152, allocations: 13.72 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.007236, allocations: 322.8 kB / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.007249, allocations: 4 kB / 330.4 MB, free: 2.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.007277, allocations: 39.42 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.007315, allocations: 25.03 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007317, allocations: 4 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.868e-05/0.007376, allocations: 53.69 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.00739, allocations: 8 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007395, allocations: 3.984 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.007406, allocations: 0 / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.007447, allocations: 11.98 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.00745, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.007469, allocations: 4 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.007473, allocations: 0 / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.723e-05/0.007531, allocations: 116.7 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.007547, allocations: 7.938 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.007634, allocations: 66.08 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007636, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.007637, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.00764, allocations: 3.938 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.007829, allocations: 210.8 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007832, allocations: 7.938 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.007871, allocations: 11.94 kB / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007873, allocations: 0 / 330.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.00788, allocations: 3.984 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007881, allocations: 0 / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.007882, allocations: 4 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.164e-05/0.007964, allocations: 139.8 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.007976, allocations: 19.89 kB / 331.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.007987, allocations: 3.984 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.00802, allocations: 4 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.008039, allocations: 0 / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.008042, allocations: 0 / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.008078, allocations: 42.45 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008078, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008244, allocations: 35.88 kB / 331.2 MB, free: 1.516 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001352/0.009596, allocations: 0.6332 MB / 331.8 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.009674, allocations: 24.84 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.009678, allocations: 0 / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.009695, allocations: 12.86 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.009842, allocations: 24.17 kB / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.01013, allocations: 166.5 kB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.01017, allocations: 61.78 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01022, allocations: 19.97 kB / 332.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.01028, allocations: 67.36 kB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01028, allocations: 0 / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of Templates: time 0.003461/0.01374, allocations: 1.98 MB / 334.2 MB, free: 14.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.021495600230992]