Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.001313/0.001313, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.001209/0.001209, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9232/0.9232, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1228/0.1228, allocations: 32.38 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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.867e-05/4.115e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003254/0.003296, allocations: 1.648 MB / 349.3 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006855/0.003981, allocations: 327.3 kB / 349.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.004051, allocations: 0 / 349.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.004661, allocations: 459 kB / 350.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.005051, allocations: 255.4 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.005411, allocations: 107.7 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.005667, allocations: 155.7 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.005797, allocations: 12.19 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.005958, allocations: 123.7 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.006187, allocations: 235.6 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.006212, allocations: 4 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.006313, allocations: 27.98 kB / 351 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.006426, allocations: 87.7 kB / 351.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.006471, allocations: 31.73 kB / 351.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.006779, allocations: 199.1 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.006786, allocations: 0 / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.006787, allocations: 4 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.006795, allocations: 7.938 kB / 351.3 MB, free: 5.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006151/0.00741, allocations: 0.6777 MB / 352 MB, free: 5.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.007463, allocations: 8.031 kB / 352 MB, free: 5.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.007538, allocations: 44.66 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.007772, allocations: 244.9 kB / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.007786, allocations: 384 / 352.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.007821, allocations: 4.375 kB / 352.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.007985, allocations: 62.88 kB / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007998, allocations: 192 / 352.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.00801, allocations: 7.938 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.00802, allocations: 0 / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.008066, allocations: 15.98 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.008555, allocations: 415.7 kB / 352.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.008815, allocations: 54.92 kB / 352.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.008843, allocations: 7.688 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.008874, allocations: 4 kB / 352.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.008895, allocations: 33.39 kB / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.008896, allocations: 0 / 352.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005212/0.009418, allocations: 184.8 kB / 353.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.009458, allocations: 55.41 kB / 353.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005482/0.01001, allocations: 0.6238 MB / 353.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01002, allocations: 25.7 kB / 353.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.0102, allocations: 282.8 kB / 354 MB, free: 2.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01023, allocations: 15.8 kB / 354.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.01028, allocations: 23.38 kB / 354.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.01043, allocations: 0.5547 MB / 354.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.01047, allocations: 4 kB / 354.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.01049, allocations: 4 kB / 354.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.878e-05/0.01055, allocations: 35.81 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01055, allocations: 4 kB / 354.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001288/0.01068, allocations: 93.34 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.0107, allocations: 4 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.01071, allocations: 4 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01073, allocations: 0 / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.0108, allocations: 11.98 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.0108, allocations: 0 / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.01084, allocations: 4 kB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.01085, allocations: 0 / 354.8 MB, free: 2.094 MB / 282.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 7.939e-05/0.01093, allocations: 164.5 kB / 355 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.01098, allocations: 47.72 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.01117, allocations: 89.12 kB / 355.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01118, allocations: 4 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01118, allocations: 0 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01118, allocations: 288 / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01161, allocations: 469.3 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.01161, allocations: 0 / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.01167, allocations: 11.98 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01168, allocations: 3.984 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01169, allocations: 0 / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01169, allocations: 4.188 kB / 355.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01169, allocations: 4 kB / 355.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.01183, allocations: 247.6 kB / 355.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.01186, allocations: 35.72 kB / 355.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.01188, allocations: 0 / 355.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.01196, allocations: 4 kB / 355.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.012, allocations: 7.922 kB / 355.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.01201, allocations: 4 kB / 355.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003027/0.01231, allocations: 426.8 kB / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01231, allocations: 0 / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002782/0.01259, allocations: 23.88 kB / 356.3 MB, free: 0.5039 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: 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.001029/0.01362, allocations: 379 kB / 356.7 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.01374, allocations: 31.69 kB / 356.7 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01375, allocations: 4 kB / 356.7 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.01378, allocations: 23.61 kB / 356.7 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01418, allocations: 31.14 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.01507, allocations: 0.5704 MB / 357.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.01517, allocations: 115.2 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.169e-05/0.01521, allocations: 8 kB / 357.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.01525, allocations: 16.5 kB / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01525, allocations: 0 / 357.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of Templates: time 0.005158/0.02041, allocations: 1.35 MB / 358.8 MB, free: 14.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.2687624800018966]