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.00135/0.00135, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001514/0.001514, allocations: 174.4 kB / 24.82 MB, free: 9.262 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.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.3006/0.3006, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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 1.713e-06/1.713e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.094e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002253/0.002274, allocations: 1.719 MB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000788/0.003062, allocations: 0.5491 MB / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.003131, allocations: 0 / 380.8 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.003647, allocations: 451.1 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.004038, allocations: 295.2 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.004256, allocations: 135.5 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.004455, allocations: 167.7 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.004546, allocations: 15.98 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.004666, allocations: 127.7 kB / 382 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.004868, allocations: 235.6 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.004885, allocations: 8 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.004978, allocations: 51.86 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.005071, allocations: 91.69 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.005102, allocations: 35.75 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.005321, allocations: 199.2 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005325, allocations: 7.984 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005326, allocations: 0 / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.005331, allocations: 0 / 382.6 MB, free: 14.3 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.0005574/0.005888, allocations: 0.7085 MB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.005931, allocations: 12.03 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.00598, allocations: 48.66 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.006173, allocations: 248.8 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.006182, allocations: 384 / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.006203, allocations: 8.375 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.006335, allocations: 66.88 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006345, allocations: 192 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.006356, allocations: 8.125 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.006363, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.006392, allocations: 11.98 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.006723, allocations: 336.2 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.00678, allocations: 55.02 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.006797, allocations: 15.62 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.006819, allocations: 4.078 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.006842, allocations: 37.39 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.006843, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004502/0.007293, allocations: 189.2 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.007322, allocations: 51.41 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.007708, allocations: 0.604 MB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.007719, allocations: 29.7 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.00787, allocations: 310.6 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.007894, allocations: 23.75 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.007927, allocations: 31.34 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.008103, allocations: 0.5546 MB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.008119, allocations: 8 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.008133, allocations: 7.984 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.008175, allocations: 31.67 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.008176, allocations: 0 / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.687e-05/0.008273, allocations: 105.3 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008286, allocations: 8 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008291, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008303, allocations: 3.984 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.008364, allocations: 12 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.008368, allocations: 0 / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.008395, allocations: 11.98 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.0084, allocations: 0 / 386.1 MB, free: 10.59 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 8.162e-05/0.008482, allocations: 160.5 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.008518, allocations: 47.72 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.008657, allocations: 121.8 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008659, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.008661, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.008665, allocations: 0 / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.008997, allocations: 433.5 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.008999, allocations: 0 / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.009033, allocations: 15.98 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009036, allocations: 4 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.009042, allocations: 4 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.009043, allocations: 0 / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009044, allocations: 32 / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.009187, allocations: 271.2 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.00921, allocations: 31.72 kB / 387.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.009226, allocations: 7.984 kB / 387.2 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.009264, allocations: 4 kB / 387.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.009289, allocations: 7.984 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.009295, allocations: 7.938 kB / 387.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.009513, allocations: 386.7 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009513, allocations: 0 / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.009676, allocations: 31.92 kB / 387.6 MB, free: 9.008 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.0008598/0.01054, allocations: 440.9 kB / 388 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.01062, allocations: 39.66 kB / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01062, allocations: 0 / 388 MB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.01065, allocations: 31.61 kB / 388.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01089, allocations: 29.91 kB / 388.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.0115, allocations: 0.5939 MB / 388.7 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.223e-05/0.01158, allocations: 123.2 kB / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.01162, allocations: 13.03 kB / 388.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.01168, allocations: 90.19 kB / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01168, allocations: 0 / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.003904/0.01559, allocations: 1.744 MB / 390.7 MB, free: 6.02 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.3694726857356727]