Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001344/0.001344, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001641/0.001641, allocations: 168.8 kB / 24.91 MB, free: 9.199 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.9542/0.9542, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2978/0.2978, allocations: 34.25 MB / 296.1 MB, free: 0.7188 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.892e-05, allocations: 3.016 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002108/0.002127, allocations: 1.72 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000958/0.003085, allocations: 0.549 MB / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.00313, allocations: 0 / 327.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.003351, allocations: 75.64 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.00362, allocations: 107.5 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.003872, allocations: 131.6 kB / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.004015, allocations: 88.27 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.004094, allocations: 20.14 kB / 328 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.004165, allocations: 47.88 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.004247, allocations: 43.89 kB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.004259, allocations: 4 kB / 328 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.004342, allocations: 55.91 kB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.004398, allocations: 23.92 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.004419, allocations: 23.92 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.004557, allocations: 103.5 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004558, allocations: 4 kB / 328.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004559, allocations: 0 / 328.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.004563, allocations: 0 / 328.3 MB, free: 4.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003015/0.004864, allocations: 317.6 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.004911, allocations: 12.03 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.004941, allocations: 8.922 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.005056, allocations: 143.3 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.005064, allocations: 4.375 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005083, allocations: 8.359 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/0.005168, allocations: 66.94 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005176, allocations: 192 / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.005183, allocations: 4.125 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.005188, allocations: 4 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.005211, allocations: 11.94 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.005394, allocations: 176.2 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.005508, allocations: 38.55 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.005524, allocations: 16.92 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.005539, allocations: 7.938 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.005559, allocations: 42.62 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.00556, allocations: 0 / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004395/0.005999, allocations: 198.6 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.006026, allocations: 51.41 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.006132, allocations: 181.5 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.006142, allocations: 29.7 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.006173, allocations: 104.1 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006199, allocations: 39.67 kB / 329.7 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.006227, allocations: 17.72 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.006295, allocations: 330.7 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.00631, allocations: 15.92 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.006325, allocations: 12 kB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.006365, allocations: 33.92 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006366, allocations: 0 / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.491e-05/0.006431, allocations: 71.58 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.00644, allocations: 4 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.006443, allocations: 4 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.006453, allocations: 0 / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.00651, allocations: 31.92 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.006512, allocations: 0 / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.006536, allocations: 11.92 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.00654, allocations: 0 / 330.2 MB, free: 2.551 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 (11): * Single equations (assignments): 11 * 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.301e-05/0.006593, allocations: 124.6 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.006613, allocations: 11.98 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.006717, allocations: 87.06 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.006718, allocations: 0 / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006719, allocations: 4 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006722, allocations: 7.938 kB / 330.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.006956, allocations: 272.3 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006957, allocations: 4 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.007001, allocations: 23.92 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007003, allocations: 0 / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.007011, allocations: 11.98 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.007012, allocations: 0 / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007013, allocations: 0 / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.007106, allocations: 189.2 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.007115, allocations: 7.953 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.007126, allocations: 3.984 kB / 330.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.007163, allocations: 4.188 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.007188, allocations: 15.92 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.007194, allocations: 8 kB / 331 MB, free: 1.719 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.007235, allocations: 52.14 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007235, allocations: 0 / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.007376, allocations: 23.94 kB / 331 MB, free: 1.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001181/0.008557, allocations: 0.5795 MB / 331.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.744e-05/0.008654, allocations: 56.77 kB / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.008657, allocations: 0 / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.008686, allocations: 36.78 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.008844, allocations: 23.98 kB / 331.7 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.009182, allocations: 273.3 kB / 332 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.009223, allocations: 71.34 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.009263, allocations: 16.61 kB / 332.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.009319, allocations: 63.36 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00932, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of Templates: time 0.003067/0.01239, allocations: 1.677 MB / 333.8 MB, free: 15.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.9609983903355896]