Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000766/0.000766, allocations: 98.48 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002523/0.0002524, allocations: 12.22 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3385, allocations: 63.09 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.001636/0.3402, allocations: 1.429 MB / 0.5228 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3416, allocations: 1.359 MB / 0.5241 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3416, allocations: 0 / 0.5241 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.3419, allocations: 57.36 kB / 0.5242 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3422, allocations: 82.81 kB / 0.5242 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.3424, allocations: 97.7 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.3426, allocations: 106.8 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.3427, allocations: 5.656 kB / 0.5244 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.3428, allocations: 42.88 kB / 0.5245 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.3428, allocations: 46.39 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3429, allocations: 0 / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.343, allocations: 38.59 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.343, allocations: 21.98 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.3431, allocations: 69.08 kB / 0.5246 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3432, allocations: 128.9 kB / 0.5248 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3433, allocations: 3.938 kB / 0.5248 GB, free: 35.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3433, allocations: 0 / 0.5248 GB, free: 35.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3433, allocations: 0 / 0.5248 GB, free: 35.98 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004223/0.3437, allocations: 432.4 kB / 0.5252 GB, free: 35.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3437, allocations: 8.812 kB / 0.5252 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.3438, allocations: 14.84 kB / 0.5252 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.344, allocations: 227 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.344, allocations: 384 / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.344, allocations: 7.281 kB / 0.5254 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3442, allocations: 55.81 kB / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3442, allocations: 0 / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3442, allocations: 2.656 kB / 0.5255 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3442, allocations: 7.516 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.3443, allocations: 22.8 kB / 0.5255 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.3446, allocations: 293.8 kB / 0.5258 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.3447, allocations: 54.06 kB / 0.5258 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.3448, allocations: 19.78 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3448, allocations: 7.062 kB / 0.5259 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.345, allocations: 74.98 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.345, allocations: 0 / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005048/0.3455, allocations: 175.1 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.3455, allocations: 61.84 kB / 0.5262 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3457, allocations: 269.2 kB / 0.5264 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3458, allocations: 29.7 kB / 0.5265 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3458, allocations: 111.9 kB / 0.5266 GB, free: 34.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.3458, allocations: 29.73 kB / 0.5266 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3459, allocations: 0 / 0.5266 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.3459, allocations: 335.4 kB / 0.5269 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.346, allocations: 19.66 kB / 0.5269 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.346, allocations: 38.97 kB / 0.527 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.3461, allocations: 60.72 kB / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3461, allocations: 0 / 0.527 GB, free: 34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.3463, allocations: 103.7 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3463, allocations: 5.094 kB / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3463, allocations: 0 / 0.5271 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3464, allocations: 6.688 kB / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/0.3464, allocations: 16.34 kB / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3465, allocations: 0 / 0.5271 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3465, allocations: 10.56 kB / 0.5272 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3465, allocations: 2.5 kB / 0.5272 GB, free: 33.93 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.939e-05/0.3466, allocations: 136.6 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.3466, allocations: 15.62 kB / 0.5273 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.3467, allocations: 25.67 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3467, allocations: 0 / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3467, allocations: 384 / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3467, allocations: 3.938 kB / 0.5273 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.347, allocations: 414.8 kB / 0.5277 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3471, allocations: 3.375 kB / 0.5277 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.3471, allocations: 9.844 kB / 0.5277 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3471, allocations: 3.031 kB / 0.5277 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.3471, allocations: 3.938 kB / 0.5278 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3471, allocations: 3.156 kB / 0.5278 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3471, allocations: 0 / 0.5278 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3473, allocations: 209.6 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.3473, allocations: 94.23 kB / 0.528 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3474, allocations: 7.188 kB / 0.528 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.3474, allocations: 4 kB / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3475, allocations: 10.06 kB / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3475, allocations: 4.688 kB / 0.5281 GB, free: 33.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.3476, allocations: 199.6 kB / 0.5283 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3476, allocations: 4 kB / 0.5283 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.3479, allocations: 32.12 kB / 0.5283 GB, free: 33.01 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: 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009802/0.3489, allocations: 0.519 MB / 0.5288 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.349, allocations: 55.23 kB / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.349, allocations: 0 / 0.5289 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-05/0.3491, allocations: 32.83 kB / 0.5289 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3494, allocations: 26.47 kB / 0.5289 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.3499, allocations: 334.8 kB / 0.5292 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3501, allocations: 0.7187 MB / 0.5299 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.3501, allocations: 24.94 kB / 0.53 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.3501, allocations: 18.91 kB / 0.53 GB, free: 31.71 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3502, allocations: 0 / 0.53 GB, free: 31.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003764/0.3539, allocations: 1.654 MB / 0.5316 GB, free: 31.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches