Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000956/0.0009562, allocations: 99.14 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.365/0.365, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3189, allocations: 63.09 MB / 0.5214 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001879/0.3208, allocations: 1.602 MB / 0.5229 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3222, allocations: 1.463 MB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.3223, allocations: 6.219 kB / 0.5244 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.3227, allocations: 247.1 kB / 0.5246 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.3231, allocations: 219.8 kB / 0.5248 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3234, allocations: 157.4 kB / 0.525 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3236, allocations: 257.1 kB / 0.5252 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3238, allocations: 35.61 kB / 0.5252 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3239, allocations: 120.3 kB / 0.5254 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.324, allocations: 182.7 kB / 0.5255 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3241, allocations: 5.438 kB / 0.5255 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3242, allocations: 43.48 kB / 0.5256 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.3243, allocations: 64.58 kB / 0.5256 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.3243, allocations: 121.3 kB / 0.5258 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3246, allocations: 244.5 kB / 0.526 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3246, allocations: 0 / 0.526 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3246, allocations: 0 / 0.526 GB, free: 35.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3246, allocations: 0 / 0.526 GB, free: 35.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005736/0.3252, allocations: 0.5383 MB / 0.5265 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3252, allocations: 10.69 kB / 0.5265 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.3253, allocations: 31.34 kB / 0.5266 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.3256, allocations: 297.3 kB / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3256, allocations: 7 kB / 0.5268 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3256, allocations: 13.41 kB / 0.5269 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.3259, allocations: 107.1 kB / 0.527 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3259, allocations: 3.031 kB / 0.527 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3259, allocations: 4 kB / 0.527 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3259, allocations: 3.125 kB / 0.527 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3261, allocations: 48.84 kB / 0.527 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.3266, allocations: 486.5 kB / 0.5275 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.327, allocations: 118.7 kB / 0.5276 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.3271, allocations: 47.31 kB / 0.5276 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.3271, allocations: 7 kB / 0.5276 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.3274, allocations: 117.7 kB / 0.5278 GB, free: 33.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3274, allocations: 0 / 0.5278 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001195/0.3286, allocations: 0.5147 MB / 0.5283 GB, free: 33.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3287, allocations: 79.98 kB / 0.5283 GB, free: 33.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.329, allocations: 496.6 kB / 0.5288 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3291, allocations: 32.52 kB / 0.5288 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.3292, allocations: 165.4 kB / 0.529 GB, free: 33.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.3292, allocations: 72.61 kB / 0.5291 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-06/0.3292, allocations: 4 kB / 0.5291 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.3293, allocations: 344.8 kB / 0.5294 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3294, allocations: 59.7 kB / 0.5295 GB, free: 32.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3295, allocations: 88.06 kB / 0.5295 GB, free: 32.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.3298, allocations: 166.8 kB / 0.5297 GB, free: 32.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3298, allocations: 3.938 kB / 0.5297 GB, free: 32.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003114/0.3301, allocations: 231.6 kB / 0.5299 GB, free: 32.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3301, allocations: 9.688 kB / 0.5299 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3301, allocations: 0 / 0.5299 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3301, allocations: 2.844 kB / 0.5299 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3303, allocations: 49.53 kB / 0.53 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.3303, allocations: 7.094 kB / 0.53 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.3304, allocations: 6.375 kB / 0.53 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3304, allocations: 12.31 kB / 0.53 GB, free: 32.48 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001256/0.3305, allocations: 186 kB / 0.5302 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.3306, allocations: 41.7 kB / 0.5302 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.3307, allocations: 41.45 kB / 0.5303 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3307, allocations: 2.938 kB / 0.5303 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3307, allocations: 0 / 0.5303 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3307, allocations: 7.234 kB / 0.5303 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007012/0.3314, allocations: 0.7361 MB / 0.531 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3314, allocations: 128 / 0.531 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.3315, allocations: 34.86 kB / 0.531 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.3315, allocations: 2.844 kB / 0.531 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3315, allocations: 8.906 kB / 0.531 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3315, allocations: 6.969 kB / 0.531 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3315, allocations: 0.9375 kB / 0.5311 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.3319, allocations: 427.2 kB / 0.5315 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.332, allocations: 116 kB / 0.5316 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.332, allocations: 6.812 kB / 0.5316 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3322, allocations: 12.62 kB / 0.5316 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3322, allocations: 23.75 kB / 0.5316 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3322, allocations: 12.56 kB / 0.5316 GB, free: 31.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.3325, allocations: 374.7 kB / 0.532 GB, free: 31.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3325, allocations: 0 / 0.532 GB, free: 31.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.3328, allocations: 49.36 kB / 0.532 GB, free: 31.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001032/0.3339, allocations: 0.5876 MB / 0.5326 GB, free: 30.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.3342, allocations: 160.2 kB / 0.5328 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3342, allocations: 0 / 0.5328 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3343, allocations: 82.5 kB / 0.5328 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.3348, allocations: 64.56 kB / 0.5329 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.3356, allocations: 0.672 MB / 0.5335 GB, free: 30.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.3358, allocations: 0.7822 MB / 0.5343 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.3359, allocations: 44.25 kB / 0.5344 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.336, allocations: 28.11 kB / 0.5344 GB, free: 29.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.336, allocations: 0 / 0.5344 GB, free: 29.52 MB / 378.7 MB Notification: Performance of Templates: time 0.005998/0.342, allocations: 2.977 MB / 0.5373 GB, free: 29.21 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches