Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0009065/0.0009065, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009531/0.0009531, allocations: 170.2 kB / 24.92 MB, free: 9.184 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.9198/0.9198, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.242/0.242, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable1Dv.Test32,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.454e-05, allocations: 5.016 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002074/0.002088, allocations: 1.646 MB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000742/0.00283, allocations: 0.5452 MB / 325.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.002877, allocations: 3.938 kB / 325.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.003128, allocations: 111.6 kB / 325.6 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.003347, allocations: 119.5 kB / 325.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.00355, allocations: 123.5 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003689, allocations: 91.73 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.003767, allocations: 15.98 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.003834, allocations: 43.89 kB / 325.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.00398, allocations: 63.86 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.003991, allocations: 0 / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.96e-05/0.004061, allocations: 51.91 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.004106, allocations: 23.86 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.004132, allocations: 16.56 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.004263, allocations: 95.59 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-06/0.004264, allocations: 4 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004265, allocations: 0 / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.004268, allocations: 4 kB / 326.2 MB, free: 6.711 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.0002913/0.004559, allocations: 329.3 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.00459, allocations: 8.031 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.004619, allocations: 12.94 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.004739, allocations: 146.4 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.00475, allocations: 8.312 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.004772, allocations: 384 / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/0.004852, allocations: 66.91 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.00486, allocations: 4.188 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.004867, allocations: 8.125 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004872, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.139e-05/0.004893, allocations: 7.984 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.005088, allocations: 179.1 kB / 326.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.005132, allocations: 29.34 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.005149, allocations: 12.95 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.005165, allocations: 3.984 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.005184, allocations: 38.5 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005185, allocations: 0 / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003825/0.005568, allocations: 153.8 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.005593, allocations: 51.41 kB / 327.2 MB, free: 5.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.005707, allocations: 201.5 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.005721, allocations: 29.7 kB / 327.5 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.005751, allocations: 100 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.005774, allocations: 27.73 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.005801, allocations: 21.7 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.006014, allocations: 326.8 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.006026, allocations: 8 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.006039, allocations: 7.984 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.006074, allocations: 31.66 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006075, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.009e-05/0.006135, allocations: 65.61 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.006143, allocations: 4 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.006147, allocations: 3.938 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.006158, allocations: 0 / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.006211, allocations: 12 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006213, allocations: 4 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.00623, allocations: 3.984 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006236, allocations: 8 kB / 328.1 MB, free: 4.672 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 5.185e-05/0.006288, allocations: 112.7 kB / 328.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.006306, allocations: 15.92 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.751e-05/0.006403, allocations: 75.38 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006405, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.006406, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.00641, allocations: 3.984 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.00662, allocations: 259.5 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006621, allocations: 0 / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.006657, allocations: 24.02 kB / 328.5 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.006661, allocations: 4 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.006665, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.006666, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006666, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.861e-05/0.006745, allocations: 168.2 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.006755, allocations: 11.91 kB / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.006765, allocations: 4 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.006798, allocations: 7.984 kB / 328.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.006816, allocations: 0 / 328.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.00682, allocations: 4 kB / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.006866, allocations: 72.16 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006866, allocations: 0 / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.006994, allocations: 23.94 kB / 328.8 MB, free: 3.832 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.001136/0.008129, allocations: 0.5663 MB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.64e-05/0.008206, allocations: 44.7 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008208, allocations: 0 / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.008229, allocations: 24.78 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.00837, allocations: 23.25 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.008657, allocations: 246.6 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.008696, allocations: 71.33 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.00873, allocations: 20.77 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.008777, allocations: 55.38 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.008777, allocations: 0 / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of Templates: time 0.003235/0.01201, allocations: 1.539 MB / 331.4 MB, free: 1.516 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.889950729906559]