Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001496/0.001496, allocations: 82.66 kB / 21.43 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.001063/0.001063, allocations: 163.9 kB / 24.82 MB, free: 8.938 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.9859/0.9859, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000287/0.0002885, allocations: 9.344 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002523/0.002811, allocations: 1.692 MB / 378.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004229, allocations: 1.309 MB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.004287, allocations: 3.938 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.004458, allocations: 19.8 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.004715, allocations: 87.55 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.005033, allocations: 179.4 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.005165, allocations: 83.75 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.322e-05/0.005248, allocations: 8 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.005317, allocations: 47.83 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.005407, allocations: 31.91 kB / 380 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.005423, allocations: 4 kB / 380 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.005559, allocations: 95.88 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.005606, allocations: 19.91 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.005631, allocations: 15.94 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.00583, allocations: 147.5 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005832, allocations: 0 / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005833, allocations: 0 / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005836, allocations: 0 / 380.2 MB, free: 0.625 MB / 346.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.0003721/0.006208, allocations: 435.9 kB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.006245, allocations: 12.03 kB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.006276, allocations: 8.891 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.006423, allocations: 142.2 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.006433, allocations: 8.312 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.006453, allocations: 12.33 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006576, allocations: 104 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006585, allocations: 4.188 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.006592, allocations: 2.438 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006599, allocations: 4 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.006626, allocations: 7.984 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.006883, allocations: 272.3 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.00694, allocations: 39.05 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.00696, allocations: 11.69 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.006977, allocations: 0 / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.007003, allocations: 45.47 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.007004, allocations: 0 / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003292/0.007333, allocations: 113.4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.007365, allocations: 77.11 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007478, allocations: 203.7 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.007488, allocations: 25.7 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.007539, allocations: 146.8 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.007563, allocations: 35.67 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.007601, allocations: 27.38 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.007719, allocations: 0.4923 MB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.007738, allocations: 7.984 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.007778, allocations: 57.12 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.007828, allocations: 23.69 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.007828, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.713e-05/0.007925, allocations: 69.62 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.007935, allocations: 4 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.007939, allocations: 0 / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.00795, allocations: 4.031 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.008022, allocations: 23.92 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.008026, allocations: 4 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/0.008059, allocations: 11.92 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.008064, allocations: 0 / 382.6 MB, free: 14 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 6.363e-05/0.008128, allocations: 156.6 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.008158, allocations: 11.95 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.008277, allocations: 70.45 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008279, allocations: 4.219 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.008281, allocations: 3.984 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.008286, allocations: 11.92 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.00855, allocations: 310.1 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008551, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.008598, allocations: 15.98 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.0086, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.008605, allocations: 4 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008606, allocations: 0 / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.008609, allocations: 7.875 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008731, allocations: 216.3 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.00874, allocations: 3.953 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.008756, allocations: 15.98 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/0.008813, allocations: 7.938 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.00884, allocations: 11.92 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.008845, allocations: 4 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.009127, allocations: 145.2 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009127, allocations: 0 / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.009384, allocations: 39.86 kB / 383.6 MB, free: 12.91 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.001073/0.01046, allocations: 496.4 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.387e-05/0.01055, allocations: 35.61 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01055, allocations: 0 / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.01059, allocations: 31.81 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.01083, allocations: 19.94 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.01115, allocations: 206.2 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.269e-05/0.01119, allocations: 71.33 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.01124, allocations: 8.734 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.01132, allocations: 94.17 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01132, allocations: 0 / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of Templates: time 0.004293/0.01562, allocations: 2.233 MB / 386.8 MB, free: 9.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.0455970652401447]