Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00158/0.00158, allocations: 81.97 kB / 21.42 MB, free: 3.07 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.001686/0.001686, allocations: 170 kB / 24.82 MB, free: 9.211 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.115/1.115, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3399/0.3399, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.916e-05, allocations: 9.203 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002552/0.002581, allocations: 1.689 MB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.003529, allocations: 0.5647 MB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.003629, allocations: 0 / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.004186, allocations: 459 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.004651, allocations: 303.1 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.005047, allocations: 171.5 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.005298, allocations: 183.6 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.005414, allocations: 16.22 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.005563, allocations: 123.8 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.0058, allocations: 243.6 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.00582, allocations: 4 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.005932, allocations: 55.84 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.006041, allocations: 87.66 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.006086, allocations: 39.73 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.006344, allocations: 215.1 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.006346, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006347, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.006353, allocations: 0 / 382.6 MB, free: 14.21 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.0006398/0.006992, allocations: 0.7124 MB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.007042, allocations: 12.03 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.007103, allocations: 48.66 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.007315, allocations: 252.8 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.007324, allocations: 384 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.007347, allocations: 4.375 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.007466, allocations: 66.94 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007477, allocations: 192 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.007486, allocations: 8.062 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.007493, allocations: 0 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.007521, allocations: 8 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.007941, allocations: 348.2 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.438e-05/0.008005, allocations: 39.09 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.008026, allocations: 19.7 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.008053, allocations: 4 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.008077, allocations: 33.39 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.008078, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005191/0.008597, allocations: 197.1 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.008629, allocations: 55.34 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.009067, allocations: 0.604 MB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.009083, allocations: 29.7 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.009242, allocations: 302.7 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.009274, allocations: 27.75 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.009407, allocations: 23.36 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.009601, allocations: 0.5663 MB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.009621, allocations: 11.92 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.009638, allocations: 8 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.009685, allocations: 31.66 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.009686, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000112/0.009798, allocations: 105.4 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.009813, allocations: 7.938 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.00982, allocations: 0 / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.009834, allocations: 0 / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.009907, allocations: 19.98 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.009911, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.009939, allocations: 8 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.009945, allocations: 0 / 386.2 MB, free: 10.48 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 9.174e-05/0.01004, allocations: 160.5 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.01008, allocations: 51.67 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.01024, allocations: 113.5 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01024, allocations: 4 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01024, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01025, allocations: 432 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.0106, allocations: 433.8 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0106, allocations: 3.984 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01064, allocations: 12 kB / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01064, allocations: 0 / 386.9 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.01065, allocations: 4 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01065, allocations: 0 / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.01065, allocations: 0 / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.01097, allocations: 283.2 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.01099, allocations: 35.72 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.01101, allocations: 4 kB / 387.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.01104, allocations: 8.031 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.01107, allocations: 11.98 kB / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01108, allocations: 3.938 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.01129, allocations: 394.7 kB / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01129, allocations: 0 / 387.7 MB, free: 8.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01147, allocations: 28 kB / 387.7 MB, free: 8.887 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.0009241/0.0124, allocations: 430.5 kB / 388.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.0125, allocations: 47.58 kB / 388.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0125, allocations: 4 kB / 388.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.01253, allocations: 31.61 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.01278, allocations: 28.95 kB / 388.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.01347, allocations: 0.6002 MB / 388.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.01356, allocations: 131.2 kB / 388.9 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.224e-05/0.01362, allocations: 13.03 kB / 389 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.01369, allocations: 86.19 kB / 389 MB, free: 7.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01369, allocations: 0 / 389 MB, free: 7.633 MB / 362.7 MB Notification: Performance of Templates: time 0.004424/0.01812, allocations: 1.78 MB / 390.8 MB, free: 5.859 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.469705879688263]