Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 186 kB / 16.41 MB, free: 5.727 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.93/1.93, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001215/0.001215, allocations: 95.39 kB / 270.9 MB, free: 8.383 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.5165/0.5165, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.000656, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1328, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5998, allocations: 87.5 MB / 0.5642 GB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.6002, allocations: 79.95 kB / 0.5643 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02372/0.6239, allocations: 5.276 MB / 0.5694 GB, free: 9.934 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.624, allocations: 0 / 0.5694 GB, free: 9.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.624, allocations: 4.562 kB / 0.5694 GB, free: 9.93 MB / 394.7 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.000663/0.6247, allocations: 422.8 kB / 0.5698 GB, free: 9.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6247, allocations: 8.031 kB / 0.5698 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.6248, allocations: 11.81 kB / 0.5698 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.6252, allocations: 215.3 kB / 0.57 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.6253, allocations: 8 kB / 0.5701 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.6253, allocations: 7.453 kB / 0.5701 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6255, allocations: 57.61 kB / 0.5701 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6255, allocations: 3.984 kB / 0.5701 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6255, allocations: 0 / 0.5701 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.6256, allocations: 0 / 0.5701 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.6257, allocations: 17.02 kB / 0.5701 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.6259, allocations: 185.6 kB / 0.5703 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.6262, allocations: 54.61 kB / 0.5704 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.6262, allocations: 4 kB / 0.5704 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.6265, allocations: 68.3 kB / 0.5704 GB, free: 8.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.705e-06/0.6265, allocations: 0 / 0.5704 GB, free: 8.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004268/0.6269, allocations: 97.67 kB / 0.5705 GB, free: 8.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.627, allocations: 55.41 kB / 0.5706 GB, free: 8.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.6273, allocations: 199.7 kB / 0.5708 GB, free: 8.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6273, allocations: 29.64 kB / 0.5708 GB, free: 8.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.6274, allocations: 166.6 kB / 0.571 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.6275, allocations: 15.75 kB / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.6275, allocations: 0 / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6276, allocations: 314.8 kB / 0.5713 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.6277, allocations: 19.92 kB / 0.5713 GB, free: 7.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.6278, allocations: 33.7 kB / 0.5713 GB, free: 7.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/0.6279, allocations: 16.06 kB / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.6279, allocations: 7.953 kB / 0.5713 GB, free: 7.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002473/0.6282, allocations: 77.61 kB / 0.5714 GB, free: 7.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6282, allocations: 8 kB / 0.5714 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6283, allocations: 0 / 0.5714 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6283, allocations: 0 / 0.5714 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.6284, allocations: 8 kB / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6284, allocations: 4.031 kB / 0.5714 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.6285, allocations: 7.984 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6285, allocations: 4 kB / 0.5714 GB, free: 7.645 MB / 394.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 (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 0.0001362/0.6287, allocations: 125.8 kB / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.6287, allocations: 19.77 kB / 0.5716 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.6291, allocations: 98.59 kB / 0.5717 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6291, allocations: 0 / 0.5717 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6291, allocations: 0 / 0.5717 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6291, allocations: 4 kB / 0.5717 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.6293, allocations: 202.3 kB / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6294, allocations: 0 / 0.5719 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.6294, allocations: 7.953 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6294, allocations: 0 / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6294, allocations: 0 / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6295, allocations: 4 kB / 0.5719 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6295, allocations: 0 / 0.5719 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.6298, allocations: 117 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.6299, allocations: 104.8 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.6299, allocations: 4.141 kB / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.63, allocations: 8 kB / 0.5721 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.63, allocations: 3.984 kB / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.6301, allocations: 4 kB / 0.5721 GB, free: 6.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.6303, allocations: 160.2 kB / 0.5723 GB, free: 6.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6303, allocations: 0 / 0.5723 GB, free: 6.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.6306, allocations: 27.92 kB / 0.5723 GB, free: 6.676 MB / 394.7 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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.00118/0.6318, allocations: 418.7 kB / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.6321, allocations: 47.92 kB / 0.5727 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6321, allocations: 3.938 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.6322, allocations: 19.98 kB / 0.5728 GB, free: 6.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.6326, allocations: 20.23 kB / 0.5728 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.6332, allocations: 283.9 kB / 0.5731 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.6335, allocations: 0.7004 MB / 0.5737 GB, free: 5.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.6336, allocations: 19.42 kB / 0.5738 GB, free: 5.219 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6336, allocations: 4 kB / 0.5738 GB, free: 5.215 MB / 394.7 MB Notification: Performance of Templates: time 0.005032/0.6386, allocations: 1.766 MB / 0.5755 GB, free: 3.453 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches