Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.002693/0.002693, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003432/0.003432, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2724/0.2724, allocations: 32.37 MB / 270 MB, free: 14.62 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 4 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.92e-05, allocations: 2.312 kB / 347 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002362/0.002391, allocations: 1.699 MB / 348.7 MB, free: 7.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003472, allocations: 0.7805 MB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.003547, allocations: 0 / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.003873, allocations: 99.56 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002409/0.004113, allocations: 79.66 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.004343, allocations: 79.7 kB / 349.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004514, allocations: 123.6 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.004609, allocations: 4.234 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004715, allocations: 63.81 kB / 349.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.00482, allocations: 63.86 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.004843, allocations: 4 kB / 350 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.85e-05/0.004931, allocations: 39.92 kB / 350 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.004993, allocations: 27.86 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.00504, allocations: 23.86 kB / 350.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.005257, allocations: 119.6 kB / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.00526, allocations: 0 / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005261, allocations: 4 kB / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005267, allocations: 0 / 350.2 MB, free: 6.488 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000577/0.005844, allocations: 459.5 kB / 350.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.005881, allocations: 8.031 kB / 350.7 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.005942, allocations: 12.89 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.006152, allocations: 160.3 kB / 350.8 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.00617, allocations: 4.375 kB / 350.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.006192, allocations: 8.312 kB / 350.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.006334, allocations: 54.23 kB / 350.9 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.00635, allocations: 3.938 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.006361, allocations: 4 kB / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.006368, allocations: 0 / 350.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.006441, allocations: 19.98 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.006804, allocations: 295.8 kB / 351.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.006962, allocations: 71.09 kB / 351.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.007008, allocations: 23.62 kB / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.007028, allocations: 4 kB / 351.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.007157, allocations: 65.05 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.007158, allocations: 0 / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005315/0.00769, allocations: 189.3 kB / 351.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.007723, allocations: 51.41 kB / 351.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.007888, allocations: 261.9 kB / 351.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.007899, allocations: 33.64 kB / 351.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.007975, allocations: 162.9 kB / 352.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.008008, allocations: 31.78 kB / 352.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.008052, allocations: 27.38 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.008173, allocations: 0.504 MB / 352.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.008223, allocations: 19.98 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.00829, allocations: 43.36 kB / 352.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.008384, allocations: 71.3 kB / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008385, allocations: 0 / 352.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001657/0.008551, allocations: 105.5 kB / 352.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.008569, allocations: 8 kB / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.008576, allocations: 0 / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.008598, allocations: 0 / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.008699, allocations: 19.92 kB / 352.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.008708, allocations: 4 kB / 352.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.008752, allocations: 4 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008761, allocations: 4.375 kB / 352.9 MB, free: 3.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.759e-05/0.008849, allocations: 169.5 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.008873, allocations: 15.91 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.009111, allocations: 123.2 kB / 353.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.009115, allocations: 4 kB / 353.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.009121, allocations: 7.938 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.009128, allocations: 3.984 kB / 353.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.009534, allocations: 413 kB / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.009536, allocations: 0 / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.009576, allocations: 16 kB / 353.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.00958, allocations: 12 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.009592, allocations: 0 / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.009595, allocations: 4 kB / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.009596, allocations: 0 / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.009814, allocations: 271.4 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.009835, allocations: 11.91 kB / 353.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.00986, allocations: 4 kB / 353.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.009926, allocations: 3.984 kB / 353.9 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.009982, allocations: 11.94 kB / 354 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.01, allocations: 7.984 kB / 354 MB, free: 2.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01011, allocations: 191.1 kB / 354.1 MB, free: 2.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01011, allocations: 4 kB / 354.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.01036, allocations: 23.94 kB / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003288/0.01365, allocations: 497.2 kB / 354.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.01397, allocations: 71.59 kB / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01397, allocations: 0 / 354.7 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.01406, allocations: 39.67 kB / 354.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.01447, allocations: 29.55 kB / 354.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.01515, allocations: 245.4 kB / 355 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01526, allocations: 96.75 kB / 355.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.01532, allocations: 24.91 kB / 355.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.01537, allocations: 12.5 kB / 355.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01537, allocations: 4 kB / 355.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Templates: time 0.005969/0.02134, allocations: 1.833 MB / 357 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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: 5.634686254081316]