Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.0009702/0.0009702, allocations: 87.67 kB / 21.19 MB, free: 3.398 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.001045/0.001045, allocations: 164.9 kB / 24.56 MB, free: 36 kB / 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.9732/0.9732, allocations: 177.1 MB / 205 MB, free: 5.637 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.2911/0.2911, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.393e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00251/0.002533, allocations: 1.7 MB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.003898, allocations: 1.293 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.003947, allocations: 4 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.004135, allocations: 23.78 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.004442, allocations: 83.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.004721, allocations: 131.6 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.00486, allocations: 79.7 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.004944, allocations: 11.98 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.005007, allocations: 35.91 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.005098, allocations: 31.89 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.005113, allocations: 4 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.005266, allocations: 99.75 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.005319, allocations: 11.94 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.005348, allocations: 27.91 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.005564, allocations: 127.6 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005566, allocations: 3.938 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005567, allocations: 4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.005571, allocations: 4 kB / 381.7 MB, free: 14.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004185/0.00599, allocations: 431.9 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.006025, allocations: 12.03 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.006076, allocations: 12.88 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.006233, allocations: 139.6 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.006244, allocations: 4.375 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.006265, allocations: 4.375 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.006412, allocations: 104 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.006422, allocations: 8.125 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.006432, allocations: 4.125 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.006439, allocations: 4 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.564e-05/0.006475, allocations: 11.98 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.006764, allocations: 283.7 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.006838, allocations: 39 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.006864, allocations: 19.7 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.006882, allocations: 3.984 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.006906, allocations: 37.39 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.006906, allocations: 4 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.007309, allocations: 133.4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.007343, allocations: 77.11 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.007465, allocations: 199.8 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007478, allocations: 29.7 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.007527, allocations: 142.8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.007549, allocations: 15.84 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.007586, allocations: 27.38 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.007692, allocations: 0.4884 MB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/0.007715, allocations: 8 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.007759, allocations: 65.12 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.007812, allocations: 39.56 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007813, allocations: 0 / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.931e-05/0.007912, allocations: 65.62 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007925, allocations: 8 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.007931, allocations: 4 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.007943, allocations: 3.984 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.008027, allocations: 12 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.008031, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.008065, allocations: 11.98 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008071, allocations: 8.031 kB / 384.1 MB, free: 12.28 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 (7): * Single equations (assignments): 7 * 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.166e-05/0.008143, allocations: 160.5 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.008178, allocations: 19.91 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.008309, allocations: 78.39 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008312, allocations: 3.984 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.008315, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008318, allocations: 0 / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.008588, allocations: 337.3 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008589, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.008638, allocations: 15.98 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.00864, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.008649, allocations: 8 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.00865, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008651, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.008784, allocations: 232.1 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008795, allocations: 7.953 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.008809, allocations: 0 / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.869e-05/0.008868, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.008901, allocations: 8 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.008905, allocations: 0 / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.008969, allocations: 153.3 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008969, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000284/0.009253, allocations: 43.86 kB / 385.2 MB, free: 11.14 MB / 362.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 (7): * Single equations (assignments): 7 * 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.001139/0.01039, allocations: 481.9 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.01051, allocations: 43.66 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01051, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.01055, allocations: 27.77 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01081, allocations: 31.91 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01115, allocations: 190.3 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.143e-05/0.01119, allocations: 63.34 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.01124, allocations: 19.92 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.01128, allocations: 20.48 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01128, allocations: 0 / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.004222/0.0155, allocations: 2.159 MB / 388.2 MB, free: 8.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.202385358978063]