Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.000925/0.000925, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001015/0.001015, allocations: 165 kB / 24.56 MB, free: 8 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.9993/0.9993, allocations: 177.1 MB / 205 MB, free: 5.59 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.2385/0.2385, allocations: 32.81 MB / 294.3 MB, free: 1.191 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.728e-05, allocations: 6.312 kB / 376 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002438/0.002465, allocations: 1.641 MB / 377.7 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.003229, allocations: 0.561 MB / 378.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.003285, allocations: 0 / 378.2 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.003511, allocations: 31.72 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.003782, allocations: 83.61 kB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.004042, allocations: 115.5 kB / 378.5 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004183, allocations: 71.77 kB / 378.5 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.00428, allocations: 12 kB / 378.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.004342, allocations: 35.89 kB / 378.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.052e-05/0.004413, allocations: 19.92 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004427, allocations: 7.984 kB / 378.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.004567, allocations: 95.83 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.004609, allocations: 19.91 kB / 378.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.004636, allocations: 15.94 kB / 378.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.004848, allocations: 143.5 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004851, allocations: 0 / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004852, allocations: 0 / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.004856, allocations: 0 / 378.9 MB, free: 1.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004172/0.005273, allocations: 427.9 kB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.005308, allocations: 12.03 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.005358, allocations: 8.891 kB / 379.3 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.005515, allocations: 140.5 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005526, allocations: 4.312 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.005549, allocations: 8.375 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.005709, allocations: 96.03 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.00572, allocations: 4.172 kB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.005733, allocations: 4.125 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.005744, allocations: 4 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.005772, allocations: 8 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.006161, allocations: 291.7 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.006241, allocations: 43.05 kB / 379.9 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.006267, allocations: 11.69 kB / 379.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.006288, allocations: 4 kB / 379.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.006315, allocations: 45.33 kB / 380 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.006316, allocations: 3.938 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003951/0.006711, allocations: 113.5 kB / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003102/0.007022, allocations: 81.05 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.007149, allocations: 204.1 kB / 380.4 MB, free: 80 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.00716, allocations: 25.7 kB / 380.4 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.007221, allocations: 142.9 kB / 380.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.00724, allocations: 27.75 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.007275, allocations: 23.38 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.007372, allocations: 0.4962 MB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.007395, allocations: 11.98 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.007433, allocations: 53.08 kB / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.227e-05/0.007485, allocations: 39.66 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007486, allocations: 0 / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.757e-05/0.007584, allocations: 73.52 kB / 381.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.007597, allocations: 4 kB / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.007602, allocations: 0 / 381.2 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007615, allocations: 288 / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.007697, allocations: 19.98 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.007704, allocations: 8.031 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.007726, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.007733, allocations: 4.312 kB / 381.3 MB, free: 15.1 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 6.2e-05/0.007795, allocations: 156.6 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.007818, allocations: 19.88 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.007941, allocations: 78.38 kB / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007944, allocations: 4 kB / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007948, allocations: 0 / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007951, allocations: 0 / 381.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.008266, allocations: 353.3 kB / 381.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008268, allocations: 4 kB / 381.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.008314, allocations: 15.98 kB / 381.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008317, allocations: 0 / 381.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.008325, allocations: 4 kB / 381.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.008327, allocations: 0 / 381.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.008328, allocations: 0 / 381.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.008453, allocations: 219.8 kB / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.008466, allocations: 11.94 kB / 382.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008482, allocations: 7.938 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.375e-05/0.008516, allocations: 3.938 kB / 382.1 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.008551, allocations: 11.98 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.008555, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.008622, allocations: 153.4 kB / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008622, allocations: 0 / 382.3 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002074/0.00883, allocations: 39.86 kB / 382.3 MB, free: 13.96 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.001132/0.009962, allocations: 0.4905 MB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01011, allocations: 39.66 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01011, allocations: 4 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.01014, allocations: 31.61 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.01036, allocations: 15.98 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01079, allocations: 182.3 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.159e-05/0.01084, allocations: 63.34 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.0109, allocations: 25.02 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.01096, allocations: 24.42 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.01096, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Templates: time 0.004422/0.01538, allocations: 2.228 MB / 385.4 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.2619727649725974]