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.002157/0.002156, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001067/0.001067, allocations: 74.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2741/0.2741, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.809e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4622/0.5753, allocations: 87.42 MB / 0.5582 GB, free: 188 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5756, allocations: 77.92 kB / 0.5582 GB, free: 148 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02376/0.5994, allocations: 5.249 MB / 0.5634 GB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5995, allocations: 0 / 0.5634 GB, free: 11.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.5995, allocations: 0 / 0.5634 GB, free: 11.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005445/0.6001, allocations: 397.4 kB / 0.5637 GB, free: 11.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6001, allocations: 8.031 kB / 0.5638 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.6002, allocations: 11.81 kB / 0.5638 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.6006, allocations: 219.1 kB / 0.564 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.6006, allocations: 7.438 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.6006, allocations: 4 kB / 0.564 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6008, allocations: 44.81 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.6008, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6008, allocations: 0 / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.6009, allocations: 3.984 kB / 0.564 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.6009, allocations: 18.31 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.6012, allocations: 182.6 kB / 0.5642 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.6014, allocations: 49.56 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.6015, allocations: 31.56 kB / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.6015, allocations: 0 / 0.5643 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.6017, allocations: 59.22 kB / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.6017, allocations: 0 / 0.5644 GB, free: 10.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002675/0.602, allocations: 84.48 kB / 0.5644 GB, free: 10.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.6021, allocations: 55.41 kB / 0.5645 GB, free: 10.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.6024, allocations: 190 kB / 0.5647 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.6024, allocations: 29.27 kB / 0.5647 GB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.6025, allocations: 164.8 kB / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.6026, allocations: 19.34 kB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.6026, allocations: 0 / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.6027, allocations: 314.8 kB / 0.5652 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.6028, allocations: 14.5 kB / 0.5652 GB, free: 9.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.6028, allocations: 29.22 kB / 0.5652 GB, free: 9.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.6029, allocations: 21.75 kB / 0.5652 GB, free: 9.695 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6029, allocations: 0 / 0.5652 GB, free: 9.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001856/0.6031, allocations: 75.72 kB / 0.5653 GB, free: 9.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6031, allocations: 4 kB / 0.5653 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6032, allocations: 0 / 0.5653 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6032, allocations: 7.984 kB / 0.5653 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6033, allocations: 15.92 kB / 0.5653 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6034, allocations: 32 / 0.5653 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.6034, allocations: 11.25 kB / 0.5654 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6035, allocations: 128 / 0.5654 GB, free: 9.59 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 () * 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 8.914e-05/0.6036, allocations: 112.3 kB / 0.5655 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.6036, allocations: 7.906 kB / 0.5655 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.6039, allocations: 100.2 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6039, allocations: 0 / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6039, allocations: 0 / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6039, allocations: 0 / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.6041, allocations: 205.6 kB / 0.5658 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.6042, allocations: 3.953 kB / 0.5658 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.6042, allocations: 4 kB / 0.5658 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.6042, allocations: 0 / 0.5658 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.6042, allocations: 7.984 kB / 0.5658 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6043, allocations: 0 / 0.5658 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6043, allocations: 0 / 0.5658 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.6045, allocations: 106.5 kB / 0.5659 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.6046, allocations: 108 kB / 0.566 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.6046, allocations: 4 kB / 0.566 GB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.6047, allocations: 7.375 kB / 0.566 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.6048, allocations: 3.984 kB / 0.566 GB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6048, allocations: 4 kB / 0.566 GB, free: 8.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.605, allocations: 158.5 kB / 0.5661 GB, free: 8.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6051, allocations: 3.938 kB / 0.5662 GB, free: 8.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.6053, allocations: 23.36 kB / 0.5662 GB, free: 8.727 MB / 378.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) * 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.001104/0.6065, allocations: 384.3 kB / 0.5665 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.6066, allocations: 42.06 kB / 0.5666 GB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6067, allocations: 0 / 0.5666 GB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.6067, allocations: 18.5 kB / 0.5666 GB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.6071, allocations: 28.36 kB / 0.5666 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.6076, allocations: 184.9 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.6079, allocations: 0.7191 MB / 0.5675 GB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.608, allocations: 15.38 kB / 0.5675 GB, free: 7.395 MB / 378.7 MB Notification: Performance of SimCode: time 2.645e-06/0.608, allocations: 0 / 0.5675 GB, free: 7.395 MB / 378.7 MB Notification: Performance of Templates: time 0.005004/0.613, allocations: 1.777 MB / 0.5693 GB, free: 5.625 MB / 378.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