Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 103.5 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 194.6 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5362/0.5362, allocations: 43.5 MB / 313.6 MB, free: 8.574 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 67.91 kB / 382.2 MB, free: 8.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1882, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003941/0.1922, allocations: 1.756 MB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.1946, allocations: 1.375 MB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.1947, allocations: 0 / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1951, allocations: 35.89 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1954, allocations: 47.78 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.1956, allocations: 79.89 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1958, allocations: 95.64 kB / 443.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.196, allocations: 12.22 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.1961, allocations: 47.78 kB / 443.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1962, allocations: 43.83 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1963, allocations: 7.938 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1964, allocations: 59.97 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.1965, allocations: 11.94 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.1966, allocations: 39.72 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1968, allocations: 123.9 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.1968, allocations: 0 / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1968, allocations: 0 / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1968, allocations: 3.984 kB / 443.7 MB, free: 10.98 MB / 382.1 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.0006123/0.1974, allocations: 403.1 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1975, allocations: 11.89 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1976, allocations: 8.844 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1978, allocations: 204.1 kB / 444.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1979, allocations: 4.375 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1979, allocations: 12.06 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1981, allocations: 63.39 kB / 444.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1981, allocations: 7.938 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1981, allocations: 7.984 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1982, allocations: 0 / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.1982, allocations: 19.97 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.1986, allocations: 284.8 kB / 444.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1988, allocations: 62.61 kB / 444.8 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.1989, allocations: 28.84 kB / 444.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.199, allocations: 0 / 444.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.1992, allocations: 67.39 kB / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1992, allocations: 0 / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.1998, allocations: 169.2 kB / 445.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1999, allocations: 77.11 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2001, allocations: 153.8 kB / 445.3 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2001, allocations: 25.7 kB / 445.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.2002, allocations: 96.12 kB / 445.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.2002, allocations: 31.64 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.2004, allocations: 29.66 kB / 445.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.2006, allocations: 326.8 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.2007, allocations: 12 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.2007, allocations: 50.55 kB / 445.8 MB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.2009, allocations: 57.78 kB / 445.9 MB, free: 8.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.2009, allocations: 192 / 445.9 MB, free: 8.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002125/0.2011, allocations: 105.5 kB / 446 MB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2011, allocations: 7.938 kB / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2011, allocations: 0 / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2012, allocations: 0 / 446 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2013, allocations: 24.06 kB / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2013, allocations: 3.938 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.2014, allocations: 11.92 kB / 446.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2014, allocations: 0 / 446.1 MB, free: 8.406 MB / 382.1 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 0.0001762/0.2015, allocations: 117.8 kB / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2016, allocations: 11.81 kB / 446.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.2016, allocations: 16.7 kB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2016, allocations: 0 / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.2017, allocations: 4 kB / 446.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2017, allocations: 3.938 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.2021, allocations: 391.3 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2021, allocations: 0 / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.2022, allocations: 11.98 kB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2022, allocations: 4 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2022, allocations: 7.938 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2022, allocations: 384 / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2022, allocations: 32 / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2025, allocations: 204.2 kB / 446.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.2025, allocations: 89.02 kB / 446.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2026, allocations: 7.938 kB / 446.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.2026, allocations: 7.984 kB / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.2027, allocations: 4 kB / 446.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2027, allocations: 8 kB / 446.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.2028, allocations: 119.2 kB / 447 MB, free: 7.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2028, allocations: 0 / 447 MB, free: 7.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.2031, allocations: 35.98 kB / 447.1 MB, free: 7.281 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001257/0.2044, allocations: 0.497 MB / 447.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.2046, allocations: 67.89 kB / 447.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2046, allocations: 0 / 447.6 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.2047, allocations: 31.92 kB / 447.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2051, allocations: 31.97 kB / 447.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.2055, allocations: 206.9 kB / 447.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.2059, allocations: 0.704 MB / 448.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.192e-05/0.206, allocations: 17.17 kB / 448.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.206, allocations: 19.42 kB / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.985e-06/0.2061, allocations: 0 / 448.6 MB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.005524/0.2116, allocations: 1.94 MB / 450.6 MB, free: 3.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches