Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007276/0.0007276, allocations: 98.95 kB / 295.1 MB, free: 4.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002354, allocations: 16 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08501, allocations: 62.95 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.0016/0.08665, allocations: 1.424 MB / 0.5167 GB, free: 3.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.0878, allocations: 0.9363 MB / 0.5176 GB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.08789, allocations: 3.938 kB / 0.5176 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.08814, allocations: 43.88 kB / 0.5177 GB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.0884, allocations: 71.73 kB / 0.5177 GB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.08869, allocations: 95.16 kB / 0.5178 GB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.08884, allocations: 99.61 kB / 0.5179 GB, free: 2.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.868e-05/0.08892, allocations: 11.98 kB / 0.5179 GB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.08901, allocations: 47.78 kB / 0.518 GB, free: 2.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.08907, allocations: 19.86 kB / 0.518 GB, free: 2.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.0891, allocations: 7.984 kB / 0.518 GB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.08919, allocations: 43.86 kB / 0.5181 GB, free: 2.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.08923, allocations: 15.92 kB / 0.5181 GB, free: 2.277 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.08927, allocations: 37.7 kB / 0.5181 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.08941, allocations: 96.02 kB / 0.5182 GB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.08942, allocations: 4 kB / 0.5182 GB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08943, allocations: 0 / 0.5182 GB, free: 2.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.08944, allocations: 4 kB / 0.5182 GB, free: 2.133 MB / 346.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.0004003/0.08984, allocations: 394.9 kB / 0.5186 GB, free: 1.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.08988, allocations: 12.03 kB / 0.5186 GB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.08992, allocations: 11.89 kB / 0.5186 GB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.09009, allocations: 208.6 kB / 0.5188 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.09011, allocations: 7.984 kB / 0.5188 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.09013, allocations: 3.938 kB / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.09026, allocations: 61.61 kB / 0.5189 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.09027, allocations: 3.906 kB / 0.5189 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.09029, allocations: 0 / 0.5189 GB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.0903, allocations: 4 kB / 0.5189 GB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.999e-05/0.09036, allocations: 15.98 kB / 0.5189 GB, free: 1.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.09063, allocations: 288.9 kB / 0.5192 GB, free: 1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.09078, allocations: 66.61 kB / 0.5192 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.09083, allocations: 16.86 kB / 0.5193 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.09085, allocations: 0 / 0.5193 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.091, allocations: 67.39 kB / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.09101, allocations: 0 / 0.5193 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004385/0.09146, allocations: 181.1 kB / 0.5195 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.09149, allocations: 55.41 kB / 0.5195 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.09163, allocations: 218.7 kB / 0.5198 GB, free: 364 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.09165, allocations: 33.7 kB / 0.5198 GB, free: 324 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.09168, allocations: 100.1 kB / 0.5199 GB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.09171, allocations: 23.7 kB / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.09172, allocations: 0 / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.09181, allocations: 326.8 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.09187, allocations: 23.98 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.09194, allocations: 45.59 kB / 0.5203 GB, free: 15.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.092, allocations: 20 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.09201, allocations: 0 / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001666/0.09218, allocations: 93.58 kB / 0.5204 GB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.0922, allocations: 8 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.09221, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.09223, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.09231, allocations: 19.94 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.09232, allocations: 8.016 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.09238, allocations: 4 kB / 0.5204 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.09239, allocations: 7.953 kB / 0.5204 GB, free: 15.62 MB / 362.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 9.41e-05/0.09249, allocations: 132.3 kB / 0.5206 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.09252, allocations: 15.8 kB / 0.5206 GB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.09256, allocations: 17.41 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.09257, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.09258, allocations: 3.938 kB / 0.5206 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.09259, allocations: 4 kB / 0.5206 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.09299, allocations: 399.3 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.093, allocations: 3.984 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.09304, allocations: 8 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.09304, allocations: 0 / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.09306, allocations: 4 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.09307, allocations: 7.922 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.09307, allocations: 3.953 kB / 0.521 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.09328, allocations: 208.2 kB / 0.5212 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.09334, allocations: 85.02 kB / 0.5213 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.09337, allocations: 8 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.09344, allocations: 3.984 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.09348, allocations: 7.953 kB / 0.5213 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.0935, allocations: 4 kB / 0.5213 GB, free: 14.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.09362, allocations: 164.3 kB / 0.5215 GB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09362, allocations: 0 / 0.5215 GB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000231/0.09386, allocations: 28 kB / 0.5215 GB, free: 14.44 MB / 362.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.0008614/0.09473, allocations: 457.8 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.09489, allocations: 67.94 kB / 0.522 GB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0949, allocations: 0 / 0.522 GB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.09499, allocations: 27.92 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.09529, allocations: 25.41 kB / 0.522 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.09571, allocations: 283.9 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.09596, allocations: 0.7083 MB / 0.523 GB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.096, allocations: 23.42 kB / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.096, allocations: 0 / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003341/0.09935, allocations: 1.955 MB / 0.5249 GB, free: 11 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches