Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001016/0.001016, 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.001084/0.001084, allocations: 174.3 kB / 24.91 MB, free: 8.773 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.9313/0.9313, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2618/0.2618, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 325.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.063e-05, allocations: 3.156 kB / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002025/0.002046, allocations: 1.647 MB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.002783, allocations: 0.5452 MB / 327.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.002828, allocations: 4 kB / 327.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.003053, allocations: 123.6 kB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.003272, allocations: 131.5 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.003452, allocations: 87.69 kB / 327.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.003582, allocations: 100.3 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.426e-05/0.003646, allocations: 15.98 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.003711, allocations: 51.88 kB / 328 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.003802, allocations: 79.83 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.003813, allocations: 4 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.003881, allocations: 47.92 kB / 328.1 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.003918, allocations: 23.92 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.003938, allocations: 19.86 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.004186, allocations: 107.5 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.004188, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004188, allocations: 0 / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.004191, allocations: 0 / 328.2 MB, free: 4.719 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002601/0.004451, allocations: 345.4 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.004482, allocations: 16.03 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.004504, allocations: 4.938 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004611, allocations: 153.5 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-06/0.004618, allocations: 4.375 kB / 328.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004632, allocations: 4.375 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.0047, allocations: 54.94 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004706, allocations: 192 / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.004714, allocations: 8.125 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.004717, allocations: 0 / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.004736, allocations: 11.98 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.004917, allocations: 183 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.004957, allocations: 26.56 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.004969, allocations: 8.859 kB / 329 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.004982, allocations: 4 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.004999, allocations: 34.5 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.005, allocations: 0 / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003313/0.005331, allocations: 154.1 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.005356, allocations: 55.34 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.005478, allocations: 213.2 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.005487, allocations: 29.7 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.005518, allocations: 104 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.005538, allocations: 27.73 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.005562, allocations: 21.7 kB / 329.7 MB, free: 3.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.005631, allocations: 326.8 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.005641, allocations: 7.984 kB / 330 MB, free: 2.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.005652, allocations: 8 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.00568, allocations: 24.84 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.005681, allocations: 0 / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.69e-05/0.005738, allocations: 73.75 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.005747, allocations: 12 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.00575, allocations: 0 / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.005757, allocations: 0 / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.853e-05/0.005806, allocations: 15.98 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.005808, allocations: 0 / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005825, allocations: 4 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.005829, allocations: 0 / 330.1 MB, free: 2.656 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 (8): * Single equations (assignments): 8 * 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 4.885e-05/0.005878, allocations: 112.7 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.005895, allocations: 15.92 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.005982, allocations: 83.06 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005984, allocations: 0 / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.005985, allocations: 0 / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005987, allocations: 0 / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.006185, allocations: 255.5 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006186, allocations: 0 / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.006218, allocations: 19.98 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00622, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.006224, allocations: 4 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.006226, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006227, allocations: 32 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.443e-05/0.006301, allocations: 172.2 kB / 330.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.006313, allocations: 19.84 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.006323, allocations: 3.984 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.546e-05/0.006358, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.006376, allocations: 11.98 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.00638, allocations: 4 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.006428, allocations: 68.61 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006428, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001276/0.006556, allocations: 20 kB / 330.9 MB, free: 1.812 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001365/0.00792, allocations: 0.5729 MB / 331.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.192e-05/0.007982, allocations: 40.7 kB / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.007985, allocations: 0 / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.008005, allocations: 28.78 kB / 331.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.008136, allocations: 23.73 kB / 331.6 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.008417, allocations: 256.9 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.008458, allocations: 71.33 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.848e-05/0.008486, allocations: 13.11 kB / 331.9 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.008533, allocations: 67.36 kB / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.008533, allocations: 0 / 332 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of Templates: time 0.002846/0.01138, allocations: 1.495 MB / 333.5 MB, free: 15.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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: 2.851790138054639]