Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002264/0.002263, allocations: 185.9 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 2.217/2.217, 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.001163/0.001162, allocations: 93.3 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.5096/0.5096, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 19.98 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5753, allocations: 87.55 MB / 0.5642 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5757, allocations: 79.95 kB / 0.5643 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02429/0.6, allocations: 5.547 MB / 0.5697 GB, free: 9.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.6, allocations: 0 / 0.5697 GB, free: 9.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.6001, allocations: 0 / 0.5697 GB, free: 9.465 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.0006714/0.6008, allocations: 447 kB / 0.5702 GB, free: 8.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.6008, allocations: 12.03 kB / 0.5702 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.6009, allocations: 11.81 kB / 0.5702 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.6013, allocations: 228.3 kB / 0.5704 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.6013, allocations: 0 / 0.5704 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.6013, allocations: 4 kB / 0.5704 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.6015, allocations: 49.67 kB / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6015, allocations: 0 / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6016, allocations: 0 / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.6016, allocations: 2.906 kB / 0.5704 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.6017, allocations: 24.95 kB / 0.5705 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.602, allocations: 197.6 kB / 0.5707 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.6022, allocations: 58.61 kB / 0.5707 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.6022, allocations: 4 kB / 0.5707 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.6024, allocations: 59.48 kB / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.6025, allocations: 0 / 0.5708 GB, free: 8.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004179/0.6029, allocations: 110.3 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6029, allocations: 51.41 kB / 0.5709 GB, free: 8.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.6034, allocations: 237.7 kB / 0.5712 GB, free: 7.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.6034, allocations: 25.7 kB / 0.5712 GB, free: 7.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6035, allocations: 178.5 kB / 0.5713 GB, free: 7.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.6036, allocations: 3.906 kB / 0.5714 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.6036, allocations: 4 kB / 0.5714 GB, free: 7.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6037, allocations: 314.8 kB / 0.5717 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.6038, allocations: 15.98 kB / 0.5717 GB, free: 7.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.6039, allocations: 29.7 kB / 0.5717 GB, free: 7.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.604, allocations: 20.19 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.604, allocations: 7.953 kB / 0.5717 GB, free: 7.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002324/0.6043, allocations: 73.59 kB / 0.5718 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6043, allocations: 11.98 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6043, allocations: 3.984 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6044, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.6045, allocations: 15.94 kB / 0.5718 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6045, allocations: 4 kB / 0.5718 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.6046, allocations: 4.031 kB / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.6046, allocations: 4 kB / 0.5718 GB, free: 7.09 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.0001472/0.6048, allocations: 137.8 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.6048, allocations: 19.75 kB / 0.572 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.6052, allocations: 94.67 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6052, allocations: 0 / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6052, allocations: 1.031 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.6052, allocations: 3.984 kB / 0.5721 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6054, allocations: 209.5 kB / 0.5723 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6055, allocations: 3.938 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.6055, allocations: 7.953 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6055, allocations: 0 / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.6056, allocations: 4 kB / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.6056, allocations: 4 kB / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6056, allocations: 0 / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.6059, allocations: 112.9 kB / 0.5724 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.606, allocations: 104.9 kB / 0.5725 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.606, allocations: 11.89 kB / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.6061, allocations: 4 kB / 0.5725 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.6062, allocations: 3.984 kB / 0.5725 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.6062, allocations: 4.188 kB / 0.5725 GB, free: 6.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002947/0.6065, allocations: 200.2 kB / 0.5727 GB, free: 6.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6065, allocations: 3.938 kB / 0.5727 GB, free: 6.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.6068, allocations: 20 kB / 0.5727 GB, free: 6.062 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.001233/0.6081, allocations: 424.4 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.6083, allocations: 39.97 kB / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6084, allocations: 0 / 0.5732 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.6085, allocations: 31.88 kB / 0.5732 GB, free: 5.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.6088, allocations: 25.39 kB / 0.5732 GB, free: 5.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.6096, allocations: 314.1 kB / 0.5735 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.6099, allocations: 0.7199 MB / 0.5742 GB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.61, allocations: 19.44 kB / 0.5743 GB, free: 4.547 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.61, allocations: 0 / 0.5743 GB, free: 4.547 MB / 394.7 MB Notification: Performance of Templates: time 0.00538/0.6154, allocations: 1.926 MB / 0.5761 GB, free: 2.625 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches