Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 94.11 kB / 16.98 MB, free: 5.938 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.001365/0.001365, allocations: 185.2 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.23 MB / 337.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004903, allocations: 12 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 61.92 MB / 471.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002012/0.1999, allocations: 1.352 MB / 472.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2012, allocations: 0.7686 MB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.2013, allocations: 0 / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.2016, allocations: 71.72 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.2018, allocations: 51.86 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.202, allocations: 87.27 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2022, allocations: 63.84 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.2022, allocations: 4 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.2023, allocations: 43.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.2024, allocations: 31.86 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2024, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.2025, allocations: 23.92 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.2025, allocations: 19.91 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.2026, allocations: 33.7 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2027, allocations: 72.12 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2027, allocations: 3.938 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2027, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2027, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005566/0.2033, allocations: 394.9 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2034, allocations: 12.03 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.2034, allocations: 7.906 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2036, allocations: 198.9 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2036, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2037, allocations: 7.984 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2038, allocations: 49.64 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2038, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2038, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2038, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.2039, allocations: 23.92 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.2041, allocations: 185.5 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.2043, allocations: 54.61 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2043, allocations: 0 / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.2045, allocations: 67.44 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.2045, allocations: 7.938 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002709/0.2048, allocations: 93.75 kB / 475.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2048, allocations: 55.41 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.205, allocations: 186.1 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.205, allocations: 29.7 kB / 475.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.2051, allocations: 100.1 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.2051, allocations: 11.81 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.2052, allocations: 4 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2053, allocations: 326.8 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.2053, allocations: 12 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.2054, allocations: 25.7 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.2055, allocations: 24 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2055, allocations: 0 / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.2056, allocations: 81.58 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2056, allocations: 4 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2057, allocations: 7.984 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2057, allocations: 0 / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.2058, allocations: 11.94 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2058, allocations: 4 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.2058, allocations: 3.984 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2058, allocations: 4 kB / 476 MB, free: 8.969 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.2059, allocations: 121.6 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.206, allocations: 11.84 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.206, allocations: 20.3 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.206, allocations: 11.89 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.206, allocations: 0 / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.206, allocations: 0 / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2062, allocations: 185.5 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2062, allocations: 4 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.2062, allocations: 0 / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2062, allocations: 7.984 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2062, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2062, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2062, allocations: 3.953 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.2064, allocations: 113 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.2065, allocations: 88.95 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2065, allocations: 4 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.2065, allocations: 7.984 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.2066, allocations: 4.078 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2066, allocations: 8 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2067, allocations: 139.2 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2067, allocations: 4 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.2069, allocations: 16 kB / 476.8 MB, free: 8.137 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008854/0.2078, allocations: 400.2 kB / 477.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.208, allocations: 39.92 kB / 477.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.208, allocations: 0 / 477.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.2081, allocations: 23.98 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2083, allocations: 26.08 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.2087, allocations: 201.1 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.209, allocations: 0.7085 MB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.209, allocations: 12.55 kB / 478.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2091, allocations: 19.42 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2091, allocations: 3.938 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of Templates: time 0.004233/0.2133, allocations: 1.368 MB / 479.6 MB, free: 5.457 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches