Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 178 kB / 16.41 MB, free: 5.574 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.725/1.725, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007937/0.0007941, allocations: 93.17 kB / 270.9 MB, free: 8.34 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.4878/0.4878, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004797, allocations: 20 kB / 431.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1909, allocations: 58.84 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003551/0.1945, allocations: 1.394 MB / 491.6 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1971, allocations: 0.7423 MB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1973, allocations: 4 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.1978, allocations: 43.81 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.1982, allocations: 55.81 kB / 492.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.1987, allocations: 67.86 kB / 492.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.199, allocations: 91.73 kB / 492.6 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1992, allocations: 8.219 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1993, allocations: 43.78 kB / 492.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1995, allocations: 27.86 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1995, allocations: 0 / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1997, allocations: 43.91 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.1998, allocations: 23.92 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.1999, allocations: 45.58 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.2002, allocations: 104.1 kB / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2003, allocations: 0 / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.232e-06/0.2003, allocations: 4 kB / 492.9 MB, free: 8.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.2003, allocations: 3.938 kB / 492.9 MB, free: 8.238 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.001/0.2013, allocations: 418.7 kB / 493.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/0.2014, allocations: 12.03 kB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.2015, allocations: 15.8 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.2019, allocations: 206.8 kB / 493.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.202, allocations: 7.984 kB / 493.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.202, allocations: 8 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2023, allocations: 49.67 kB / 493.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2023, allocations: 7.844 kB / 493.6 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.2024, allocations: 4 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2024, allocations: 3.953 kB / 493.7 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2025, allocations: 19.98 kB / 493.7 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.2032, allocations: 285 kB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.2035, allocations: 62.61 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2036, allocations: 20.84 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.2037, allocations: 0 / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.204, allocations: 71.34 kB / 494.1 MB, free: 6.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.204, allocations: 4 kB / 494.1 MB, free: 6.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009259/0.205, allocations: 185 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.2051, allocations: 55.41 kB / 494.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.2055, allocations: 254.5 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.2056, allocations: 29.7 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2057, allocations: 112 kB / 494.7 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.2058, allocations: 19.8 kB / 494.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.2059, allocations: 11.94 kB / 494.8 MB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.2061, allocations: 330.8 kB / 495.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.2062, allocations: 16 kB / 495.1 MB, free: 5.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2063, allocations: 37.7 kB / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2064, allocations: 20 kB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.2065, allocations: 3.984 kB / 495.2 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003365/0.2068, allocations: 109.4 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2068, allocations: 4 kB / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2069, allocations: 4.031 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2069, allocations: 0 / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.2071, allocations: 19.98 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2071, allocations: 0 / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.2072, allocations: 192 / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2072, allocations: 4 kB / 495.3 MB, free: 5.645 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.00019/0.2074, allocations: 149.5 kB / 495.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.2075, allocations: 19.77 kB / 495.5 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.2076, allocations: 29.55 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2076, allocations: 0 / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2076, allocations: 0 / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.2076, allocations: 3.984 kB / 495.5 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.2084, allocations: 419 kB / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2084, allocations: 0 / 495.9 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.2085, allocations: 8 kB / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2085, allocations: 0 / 495.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2085, allocations: 4 kB / 495.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2085, allocations: 4.031 kB / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2085, allocations: 0 / 495.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.2089, allocations: 200.3 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.209, allocations: 100.8 kB / 496.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.209, allocations: 4 kB / 496.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2092, allocations: 7.984 kB / 496.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2093, allocations: 4 kB / 496.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.2093, allocations: 4 kB / 496.2 MB, free: 4.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.2096, allocations: 208 kB / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2096, allocations: 0 / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004743/0.2101, allocations: 20 kB / 496.5 MB, free: 4.383 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.00166/0.2118, allocations: 472.4 kB / 496.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.2121, allocations: 59.89 kB / 497 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2121, allocations: 0 / 497 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.2123, allocations: 31.98 kB / 497 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.2129, allocations: 23.92 kB / 497 MB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.2138, allocations: 340.6 kB / 497.4 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2142, allocations: 0.72 MB / 498.1 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.2143, allocations: 19.42 kB / 498.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2143, allocations: 0 / 498.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of Templates: time 0.00606/0.2204, allocations: 2.015 MB / 0.4884 GB, free: 0.707 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches