Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002171/0.002171, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 94.41 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.405/0.405, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.625e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4041, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.563, allocations: 86.96 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5633, allocations: 71.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0239/0.5873, allocations: 5.393 MB / 0.5562 GB, free: 6.883 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5873, allocations: 0 / 0.5562 GB, free: 6.883 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.5874, allocations: 7.938 kB / 0.5562 GB, free: 6.875 MB / 395.1 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.000568/0.5879, allocations: 398.2 kB / 0.5566 GB, free: 6.441 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.588, allocations: 12.02 kB / 0.5566 GB, free: 6.43 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.5881, allocations: 11.81 kB / 0.5566 GB, free: 6.418 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5885, allocations: 219.5 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.5885, allocations: 3.984 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.5885, allocations: 4 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.034e-05/0.5886, allocations: 16 kB / 0.5568 GB, free: 6.137 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5888, allocations: 53.61 kB / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5888, allocations: 0 / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5888, allocations: 0 / 0.5569 GB, free: 6.078 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5888, allocations: 7.922 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.5893, allocations: 273.5 kB / 0.5571 GB, free: 5.766 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.5895, allocations: 50.69 kB / 0.5572 GB, free: 5.707 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.5895, allocations: 16.98 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5896, allocations: 0 / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5897, allocations: 67.33 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5897, allocations: 0 / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005998/0.5904, allocations: 145.2 kB / 0.5574 GB, free: 5.461 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5904, allocations: 59.39 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.5907, allocations: 186.4 kB / 0.5576 GB, free: 5.195 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5907, allocations: 25.7 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.5908, allocations: 162.5 kB / 0.5578 GB, free: 5.004 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.5909, allocations: 27.64 kB / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5909, allocations: 0 / 0.5578 GB, free: 4.977 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.591, allocations: 318.8 kB / 0.5581 GB, free: 4.656 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.5911, allocations: 16 kB / 0.5582 GB, free: 4.641 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.633e-05/0.5912, allocations: 41.69 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.5913, allocations: 16 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5913, allocations: 0 / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.5915, allocations: 89.61 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5916, allocations: 4 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5916, allocations: 0 / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5916, allocations: 0 / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5918, allocations: 24.02 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5918, allocations: 192 / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.5919, allocations: 8 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.5919, allocations: 3.953 kB / 0.5583 GB, free: 4.445 MB / 395.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 () * 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.399e-05/0.592, allocations: 105 kB / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.5921, allocations: 11.81 kB / 0.5584 GB, free: 4.324 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.5924, allocations: 111.4 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5924, allocations: 4 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5924, allocations: 4.281 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5924, allocations: 0 / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.593, allocations: 384 kB / 0.5589 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5931, allocations: 3.938 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.5931, allocations: 16 kB / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5932, allocations: 0 / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.5932, allocations: 3.984 kB / 0.5589 GB, free: 3.758 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5932, allocations: 3.938 kB / 0.559 GB, free: 3.754 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5932, allocations: 8.031 kB / 0.559 GB, free: 3.746 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.5935, allocations: 209.9 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.5936, allocations: 89.02 kB / 0.5592 GB, free: 3.41 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.5937, allocations: 11.92 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5938, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.5939, allocations: 11.95 kB / 0.5593 GB, free: 3.387 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.5939, allocations: 11.92 kB / 0.5593 GB, free: 3.375 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.5941, allocations: 148.9 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5941, allocations: 0 / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003953/0.5945, allocations: 27.94 kB / 0.5594 GB, free: 3.203 MB / 395.1 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001155/0.5957, allocations: 389.7 kB / 0.5598 GB, free: 2.867 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.5959, allocations: 55.92 kB / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5959, allocations: 0 / 0.5599 GB, free: 2.812 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.596, allocations: 31.94 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.5965, allocations: 31.91 kB / 0.5599 GB, free: 2.75 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.597, allocations: 191.4 kB / 0.5601 GB, free: 2.535 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5974, allocations: 0.7158 MB / 0.5608 GB, free: 1.793 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.654e-05/0.5975, allocations: 19.42 kB / 0.5608 GB, free: 1.773 MB / 395.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5975, allocations: 0 / 0.5608 GB, free: 1.773 MB / 395.1 MB Notification: Performance of Templates: time 0.005593/0.6031, allocations: 1.949 MB / 0.5627 GB, free: 15.83 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches