Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0009918/0.0009918, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001236/0.001236, allocations: 165.5 kB / 24.99 MB, free: 8.742 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 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2606/0.2606, allocations: 34.25 MB / 296 MB, free: 0.7695 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.307e-06/3.307e-06, allocations: 0 / 378.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.439e-05/4.77e-05, allocations: 6.25 kB / 378.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002944/0.002992, allocations: 1.704 MB / 379.8 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.003823, allocations: 0.553 MB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.003886, allocations: 0 / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.004374, allocations: 443.1 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.004818, allocations: 299.2 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.005089, allocations: 131.5 kB / 381.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.005345, allocations: 175.6 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.00549, allocations: 15.98 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.005648, allocations: 127.7 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.005913, allocations: 247.6 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.00594, allocations: 4 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.006055, allocations: 47.92 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.006177, allocations: 79.72 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.006231, allocations: 43.73 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.006524, allocations: 207.1 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.006529, allocations: 4 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00653, allocations: 3.938 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006536, allocations: 0 / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006409/0.007177, allocations: 0.7009 MB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.007217, allocations: 8.031 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.00728, allocations: 44.66 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.007484, allocations: 252.8 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.007494, allocations: 4.375 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.007518, allocations: 4.375 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.007649, allocations: 58.95 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.007659, allocations: 8.188 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.00767, allocations: 4.125 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007677, allocations: 0 / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.007723, allocations: 19.92 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.008145, allocations: 431.6 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008292, allocations: 51 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.008315, allocations: 11.69 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.008337, allocations: 4 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.008359, allocations: 33.39 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00836, allocations: 0 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006762/0.009036, allocations: 268.7 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.009072, allocations: 51.41 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.009568, allocations: 0.6277 MB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.009581, allocations: 29.7 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.009726, allocations: 286.7 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.009755, allocations: 31.73 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.009789, allocations: 27.38 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.009936, allocations: 0.5586 MB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.009963, allocations: 15.94 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.009983, allocations: 7.984 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.01003, allocations: 39.62 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01004, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.01015, allocations: 101.4 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01017, allocations: 8 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01017, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.01018, allocations: 0 / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.01027, allocations: 19.92 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01028, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.01031, allocations: 8 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.01031, allocations: 4 kB / 385.8 MB, free: 10.98 MB / 362.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 7.966e-05/0.01039, allocations: 164.5 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.01043, allocations: 43.72 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.0106, allocations: 109.5 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01061, allocations: 4 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01061, allocations: 3.984 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01062, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.01102, allocations: 0.5048 MB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.01103, allocations: 7.938 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.01107, allocations: 15.98 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01108, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.01108, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01109, allocations: 4 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.01109, allocations: 3.938 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01123, allocations: 275.7 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.01126, allocations: 31.72 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01127, allocations: 8 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.01132, allocations: 0 / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.01135, allocations: 19.95 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.01136, allocations: 4 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.01162, allocations: 426.8 kB / 387.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01162, allocations: 0 / 387.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000183/0.0118, allocations: 27.94 kB / 387.4 MB, free: 9.266 MB / 362.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.0009773/0.01278, allocations: 426.4 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.0129, allocations: 47.59 kB / 387.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.0129, allocations: 0 / 387.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.01293, allocations: 27.69 kB / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.0132, allocations: 31.77 kB / 387.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/0.0139, allocations: 0.6055 MB / 388.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.01401, allocations: 127.2 kB / 388.7 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.01407, allocations: 13.03 kB / 388.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.01411, allocations: 24.48 kB / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01411, allocations: 0 / 388.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004465/0.01858, allocations: 1.611 MB / 390.3 MB, free: 6.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.1468700140248984]