Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002227/0.002227, allocations: 181.6 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.05/2.05, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.001101/0.001101, allocations: 86.64 kB / 267.5 MB, free: 14.03 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.2817/0.2817, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.722e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6238, allocations: 87.48 MB / 0.5582 GB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6241, allocations: 76.95 kB / 0.5583 GB, free: 56 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.653, allocations: 6.449 MB / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6531, allocations: 0 / 0.5646 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.6531, allocations: 4 kB / 0.5646 GB, free: 10.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000983/0.6541, allocations: 0.5864 MB / 0.5652 GB, free: 9.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6542, allocations: 12.03 kB / 0.5652 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.6544, allocations: 47.34 kB / 0.5652 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.6556, allocations: 477.8 kB / 0.5657 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.6557, allocations: 4 kB / 0.5657 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.6557, allocations: 4 kB / 0.5657 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.656, allocations: 82.75 kB / 0.5658 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.656, allocations: 0 / 0.5658 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.656, allocations: 11.8 kB / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.656, allocations: 0 / 0.5658 GB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.6562, allocations: 35.05 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.6568, allocations: 382.5 kB / 0.5662 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.6571, allocations: 100.4 kB / 0.5663 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.6573, allocations: 40.34 kB / 0.5663 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.6573, allocations: 0 / 0.5663 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.6576, allocations: 107.3 kB / 0.5664 GB, free: 8.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.6576, allocations: 0 / 0.5664 GB, free: 8.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005813/0.6582, allocations: 165.5 kB / 0.5666 GB, free: 8.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.6583, allocations: 80.86 kB / 0.5667 GB, free: 8.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.6604, allocations: 0.9077 MB / 0.5675 GB, free: 7.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.6605, allocations: 28.89 kB / 0.5676 GB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.6607, allocations: 240.4 kB / 0.5678 GB, free: 7.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.6608, allocations: 37.77 kB / 0.5678 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.6608, allocations: 7.5 kB / 0.5678 GB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.661, allocations: 314.8 kB / 0.5681 GB, free: 7.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.6611, allocations: 30.42 kB / 0.5682 GB, free: 7.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.6612, allocations: 57.88 kB / 0.5682 GB, free: 7.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.6613, allocations: 27.86 kB / 0.5683 GB, free: 7.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6614, allocations: 0 / 0.5683 GB, free: 7.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003339/0.6617, allocations: 131.3 kB / 0.5684 GB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6617, allocations: 4 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6618, allocations: 0 / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6618, allocations: 4 kB / 0.5684 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.662, allocations: 23.92 kB / 0.5684 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.662, allocations: 4 kB / 0.5684 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.6623, allocations: 7.906 kB / 0.5684 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.6623, allocations: 7.938 kB / 0.5684 GB, free: 6.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001216/0.6625, allocations: 124.8 kB / 0.5686 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.6626, allocations: 51.42 kB / 0.5686 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.6632, allocations: 190.5 kB / 0.5688 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.6632, allocations: 0 / 0.5688 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6633, allocations: 0 / 0.5688 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6633, allocations: 7.984 kB / 0.5688 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.6638, allocations: 387.7 kB / 0.5692 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.6639, allocations: 3.938 kB / 0.5692 GB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.664, allocations: 11.94 kB / 0.5692 GB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.664, allocations: 8 kB / 0.5692 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.664, allocations: 7.484 kB / 0.5692 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.664, allocations: 0 / 0.5692 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.664, allocations: 4 kB / 0.5692 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.6646, allocations: 215.2 kB / 0.5694 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.665, allocations: 186.6 kB / 0.5696 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.6651, allocations: 7.625 kB / 0.5696 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.6653, allocations: 8.188 kB / 0.5696 GB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.6654, allocations: 15.55 kB / 0.5696 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.6654, allocations: 11.98 kB / 0.5696 GB, free: 5.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001416/0.6669, allocations: 0.7228 MB / 0.5703 GB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6669, allocations: 0 / 0.5703 GB, free: 5.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005222/0.6674, allocations: 71.12 kB / 0.5704 GB, free: 5.125 MB / 378.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001239/0.6687, allocations: 394 kB / 0.5708 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.669, allocations: 77.11 kB / 0.5708 GB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.669, allocations: 0 / 0.5708 GB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.6692, allocations: 49.91 kB / 0.5709 GB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.6699, allocations: 68.48 kB / 0.571 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.6719, allocations: 0.8 MB / 0.5717 GB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.6726, allocations: 0.8518 MB / 0.5726 GB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6729, allocations: 42.56 kB / 0.5726 GB, free: 3.012 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6729, allocations: 3.938 kB / 0.5726 GB, free: 3.008 MB / 378.7 MB Notification: Performance of Templates: time 0.01549/0.6884, allocations: 5.485 MB / 0.578 GB, free: 13.55 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches