Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008401/0.00084, allocations: 95.47 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4049/0.4049, allocations: 43.55 MB / 362.7 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.0005579, allocations: 16 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1911, allocations: 58.85 MB / 490.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00269/0.1939, allocations: 1.394 MB / 491.6 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1953, allocations: 0.7344 MB / 492.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.1955, allocations: 4 kB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.1959, allocations: 51.8 kB / 492.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1961, allocations: 43.83 kB / 492.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1964, allocations: 75.84 kB / 492.5 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1966, allocations: 83.75 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1967, allocations: 12.22 kB / 492.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.741e-05/0.1968, allocations: 43.78 kB / 492.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.1969, allocations: 31.84 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1969, allocations: 0 / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.197, allocations: 39.92 kB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.1971, allocations: 19.92 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.1972, allocations: 41.58 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1973, allocations: 96.08 kB / 492.9 MB, free: 8.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1974, allocations: 4 kB / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1974, allocations: 0 / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1974, allocations: 0 / 492.9 MB, free: 8.277 MB / 378.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.000717/0.1981, allocations: 406.8 kB / 493.3 MB, free: 7.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1982, allocations: 12.02 kB / 493.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.1982, allocations: 11.81 kB / 493.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1985, allocations: 202.9 kB / 493.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1985, allocations: 4 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1986, allocations: 8 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1988, allocations: 57.61 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1988, allocations: 7.938 kB / 493.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1988, allocations: 7.969 kB / 493.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1988, allocations: 3.953 kB / 493.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.1989, allocations: 16 kB / 493.6 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.1994, allocations: 288.8 kB / 493.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1996, allocations: 62.62 kB / 494 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.1997, allocations: 20.84 kB / 494 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1997, allocations: 4 kB / 494 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1999, allocations: 71.34 kB / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1999, allocations: 0 / 494.1 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.2005, allocations: 173.2 kB / 494.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.2006, allocations: 51.41 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.2008, allocations: 218.7 kB / 494.5 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.2009, allocations: 33.7 kB / 494.5 MB, free: 6.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.201, allocations: 108 kB / 494.6 MB, free: 6.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.201, allocations: 31.62 kB / 494.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.201, allocations: 3.938 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2012, allocations: 326.8 kB / 495 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.2012, allocations: 20 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.2013, allocations: 37.64 kB / 495.1 MB, free: 5.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.125e-05/0.2014, allocations: 27.98 kB / 495.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2014, allocations: 4 kB / 495.1 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.2016, allocations: 93.55 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2016, allocations: 7.938 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2016, allocations: 0 / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2016, allocations: 8.031 kB / 495.2 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.2017, allocations: 15.98 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2018, allocations: 0 / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.2018, allocations: 8 kB / 495.2 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2018, allocations: 4 kB / 495.2 MB, free: 5.738 MB / 378.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 ($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 (10): * Single equations (assignments): 10 * 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 0.0001258/0.202, allocations: 134.3 kB / 495.4 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.202, allocations: 15.77 kB / 495.4 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.202, allocations: 21.39 kB / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2021, allocations: 4 kB / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2021, allocations: 0 / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2021, allocations: 0 / 495.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.2026, allocations: 399.2 kB / 495.8 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2026, allocations: 4 kB / 495.8 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.2026, allocations: 11.92 kB / 495.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2026, allocations: 4 kB / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.2027, allocations: 0 / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2027, allocations: 0 / 495.8 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2027, allocations: 8.031 kB / 495.8 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2029, allocations: 200.2 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.203, allocations: 92.95 kB / 496.1 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.203, allocations: 4 kB / 496.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.2031, allocations: 4 kB / 496.1 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.2031, allocations: 11.98 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2031, allocations: 0 / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.2033, allocations: 175.2 kB / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2033, allocations: 0 / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.2035, allocations: 27.98 kB / 496.3 MB, free: 4.543 MB / 378.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 (8): * Single equations (assignments): 6 * 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.001069/0.2046, allocations: 473 kB / 496.8 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.2048, allocations: 55.91 kB / 496.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2048, allocations: 0 / 496.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.274e-05/0.2049, allocations: 27.98 kB / 496.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2052, allocations: 32.09 kB / 496.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.2058, allocations: 303.9 kB / 497.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2061, allocations: 0.7237 MB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.2061, allocations: 15.44 kB / 497.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2062, allocations: 0 / 497.9 MB, free: 2.914 MB / 378.7 MB Notification: Performance of Templates: time 0.003634/0.2098, allocations: 1.936 MB / 499.9 MB, free: 0.9844 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches