Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001375/0.001375, allocations: 85.72 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001492/0.001492, allocations: 162.5 kB / 23.95 MB, free: 4.156 MB / 14.72 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.424/1.424, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1965/0.1965, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.753e-05, allocations: 6.281 kB / 440.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002948/0.002975, allocations: 1.653 MB / 441.8 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.005054, allocations: 1.282 MB / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.005112, allocations: 0 / 443 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.005345, allocations: 27.8 kB / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.005714, allocations: 87.48 kB / 443.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.006174, allocations: 184.5 kB / 443.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.006347, allocations: 79.77 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.006441, allocations: 12 kB / 443.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.006529, allocations: 43.89 kB / 443.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.006648, allocations: 31.89 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.00667, allocations: 7.938 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.006845, allocations: 99.75 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.006903, allocations: 15.92 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.006948, allocations: 19.94 kB / 443.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.007227, allocations: 151.6 kB / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.007232, allocations: 0 / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007233, allocations: 0 / 443.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007237, allocations: 4 kB / 443.8 MB, free: 4.445 MB / 366.1 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.0005445/0.007782, allocations: 337.6 kB / 444.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007818, allocations: 12.03 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.007863, allocations: 8.891 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.008062, allocations: 141.5 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.008078, allocations: 8.375 kB / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.008099, allocations: 384 / 444.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.008339, allocations: 101.6 kB / 444.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.008353, allocations: 4.188 kB / 444.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.008366, allocations: 4.125 kB / 444.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.00837, allocations: 4 kB / 444.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.008519, allocations: 39.97 kB / 444.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.008935, allocations: 244.4 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.00907, allocations: 42.56 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.00917, allocations: 32.86 kB / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.009191, allocations: 0 / 444.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.009225, allocations: 38.56 kB / 444.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.009226, allocations: 4 kB / 444.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008706/0.0101, allocations: 229.3 kB / 445 MB, free: 3.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.01016, allocations: 81.09 kB / 445.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.01035, allocations: 156.3 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.01037, allocations: 25.7 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.01043, allocations: 96.08 kB / 445.4 MB, free: 2.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.01047, allocations: 27.73 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.01051, allocations: 21.72 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.01066, allocations: 322.8 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.0108, allocations: 39.97 kB / 445.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01096, allocations: 79.38 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.01122, allocations: 92.83 kB / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01122, allocations: 0 / 445.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003314/0.01155, allocations: 121.6 kB / 446.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01157, allocations: 8 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01157, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01158, allocations: 4.281 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01171, allocations: 23.92 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01172, allocations: 3.938 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.01179, allocations: 11.98 kB / 446.1 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.0118, allocations: 4 kB / 446.1 MB, free: 1.922 MB / 366.1 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 0.0001028/0.0119, allocations: 122.4 kB / 446.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.01195, allocations: 15.94 kB / 446.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.01235, allocations: 138.4 kB / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01235, allocations: 0 / 446.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01236, allocations: 3.938 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01236, allocations: 0 / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.01295, allocations: 350.1 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01295, allocations: 0 / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.01304, allocations: 23.98 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01305, allocations: 8 kB / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01306, allocations: 0 / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01306, allocations: 480 / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01306, allocations: 0 / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.01344, allocations: 231.2 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01346, allocations: 11.94 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01348, allocations: 0 / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01358, allocations: 12 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.01362, allocations: 7.984 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.01363, allocations: 4 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01374, allocations: 113.4 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01374, allocations: 0 / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.01405, allocations: 51.8 kB / 447.2 MB, free: 0.7812 MB / 366.1 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.001885/0.01594, allocations: 0.5113 MB / 447.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.01628, allocations: 95.86 kB / 447.8 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01628, allocations: 0 / 447.8 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01643, allocations: 47.95 kB / 447.8 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01672, allocations: 18.95 kB / 447.8 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.01728, allocations: 221.1 kB / 448.1 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1556/0.1729, allocations: 87.88 kB / 448.2 MB, free: 21.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1731, allocations: 21.84 kB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.1731, allocations: 19.62 kB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1731, allocations: 0 / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of Templates: time 0.005256/0.1784, allocations: 1.998 MB / 450.2 MB, free: 21.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.683128770440817]