Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 183.9 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008183/0.0008184, allocations: 92.8 kB / 267 MB, free: 9.285 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.3555/0.3555, allocations: 43.48 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.159e-05, allocations: 7.984 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.127, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.5245, allocations: 88.61 MB / 0.5593 GB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.5247, allocations: 75.48 kB / 0.5594 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.535, allocations: 4.217 MB / 0.5635 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.535, allocations: 0 / 0.5635 GB, free: 13.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.535, allocations: 4 kB / 0.5635 GB, free: 13.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004075/0.5354, allocations: 462 kB / 0.564 GB, free: 12.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5355, allocations: 8.031 kB / 0.564 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.5355, allocations: 24.8 kB / 0.564 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.5358, allocations: 225.2 kB / 0.5642 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5359, allocations: 5.312 kB / 0.5642 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.5359, allocations: 8 kB / 0.5642 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5361, allocations: 103.4 kB / 0.5643 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5361, allocations: 0 / 0.5643 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5361, allocations: 1.375 kB / 0.5643 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5361, allocations: 4 kB / 0.5643 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.5362, allocations: 40.66 kB / 0.5644 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.5367, allocations: 0.5216 MB / 0.5649 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.5369, allocations: 81.39 kB / 0.565 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.537, allocations: 30.05 kB / 0.565 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.537, allocations: 1.406 kB / 0.565 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.5372, allocations: 82.97 kB / 0.5651 GB, free: 11.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5372, allocations: 4 kB / 0.5651 GB, free: 11.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002059/0.5374, allocations: 111.7 kB / 0.5652 GB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.5374, allocations: 51.41 kB / 0.5652 GB, free: 11.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5376, allocations: 171 kB / 0.5654 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.5376, allocations: 29.92 kB / 0.5654 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.5376, allocations: 112.5 kB / 0.5655 GB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.5377, allocations: 33.91 kB / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.5377, allocations: 7.25 kB / 0.5656 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.5377, allocations: 326.4 kB / 0.5659 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.5378, allocations: 23.06 kB / 0.5659 GB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.5378, allocations: 59.08 kB / 0.566 GB, free: 10.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.5379, allocations: 31.36 kB / 0.566 GB, free: 10.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5379, allocations: 4 kB / 0.566 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001543/0.5381, allocations: 125.8 kB / 0.5661 GB, free: 10.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5381, allocations: 4 kB / 0.5661 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5381, allocations: 0 / 0.5661 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5381, allocations: 9.406 kB / 0.5661 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.557e-05/0.5382, allocations: 23.19 kB / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5382, allocations: 3.938 kB / 0.5662 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.5383, allocations: 17.25 kB / 0.5662 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5383, allocations: 9.219 kB / 0.5662 GB, free: 10.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 5.474e-05/0.5384, allocations: 112.8 kB / 0.5663 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5384, allocations: 11.81 kB / 0.5663 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.5386, allocations: 122.7 kB / 0.5664 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5386, allocations: 7.953 kB / 0.5664 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5386, allocations: 0 / 0.5664 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5386, allocations: 1.688 kB / 0.5664 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.5387, allocations: 211.2 kB / 0.5666 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5388, allocations: 4.875 kB / 0.5666 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.5388, allocations: 15.81 kB / 0.5666 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5389, allocations: 7.875 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5389, allocations: 4 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5389, allocations: 3.984 kB / 0.5667 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5389, allocations: 3.953 kB / 0.5667 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.5391, allocations: 168.5 kB / 0.5668 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.5392, allocations: 99.97 kB / 0.5669 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5392, allocations: 4.062 kB / 0.5669 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.5393, allocations: 15.05 kB / 0.5669 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5393, allocations: 4 kB / 0.5669 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.5393, allocations: 3.953 kB / 0.5669 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.452e-05/0.5394, allocations: 149.9 kB / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5394, allocations: 0 / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.5396, allocations: 36 kB / 0.5671 GB, free: 9.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007443/0.5404, allocations: 388.1 kB / 0.5675 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.5405, allocations: 69.19 kB / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5405, allocations: 0 / 0.5676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.5406, allocations: 37.67 kB / 0.5676 GB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.5408, allocations: 27.48 kB / 0.5676 GB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.5412, allocations: 188.6 kB / 0.5678 GB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.5413, allocations: 0.7245 MB / 0.5685 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.5414, allocations: 17.14 kB / 0.5685 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.5415, allocations: 18.75 kB / 0.5685 GB, free: 8.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5415, allocations: 0 / 0.5685 GB, free: 8.508 MB / 394.7 MB Notification: Performance of Templates: time 0.003678/0.5451, allocations: 1.799 MB / 0.5703 GB, free: 6.723 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches