Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.0011, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008153/0.0008154, allocations: 92.59 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3543/0.3543, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003033, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3271, allocations: 63.09 MB / 0.5214 GB, free: 38.49 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001629/0.3287, allocations: 1.515 MB / 0.5229 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3301, allocations: 1.439 MB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.3302, allocations: 3.875 kB / 0.5243 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.3306, allocations: 300.1 kB / 0.5246 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.3309, allocations: 229.3 kB / 0.5248 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3312, allocations: 143.7 kB / 0.5249 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3315, allocations: 253.4 kB / 0.5252 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.3315, allocations: 10.03 kB / 0.5252 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3316, allocations: 128.7 kB / 0.5253 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.3318, allocations: 179.5 kB / 0.5255 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.3318, allocations: 2.812 kB / 0.5255 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.3319, allocations: 46.27 kB / 0.5255 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3321, allocations: 129.2 kB / 0.5256 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/0.3322, allocations: 176.4 kB / 0.5258 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3324, allocations: 349.2 kB / 0.5261 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3325, allocations: 2.969 kB / 0.5261 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3325, allocations: 0 / 0.5261 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3325, allocations: 3.938 kB / 0.5261 GB, free: 35.53 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.0006469/0.3331, allocations: 0.6754 MB / 0.5268 GB, free: 34.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3332, allocations: 8.594 kB / 0.5268 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.3332, allocations: 46.75 kB / 0.5268 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.3336, allocations: 448.4 kB / 0.5273 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3337, allocations: 384 / 0.5273 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3337, allocations: 6.938 kB / 0.5273 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3338, allocations: 93.16 kB / 0.5274 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3338, allocations: 0 / 0.5274 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3339, allocations: 0 / 0.5274 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3339, allocations: 2.625 kB / 0.5274 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.334, allocations: 28.2 kB / 0.5274 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.3342, allocations: 374.3 kB / 0.5278 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3345, allocations: 107.1 kB / 0.5279 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.3345, allocations: 45.31 kB / 0.5279 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3346, allocations: 0 / 0.5279 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3348, allocations: 117.5 kB / 0.528 GB, free: 34.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3348, allocations: 0 / 0.528 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003668/0.3351, allocations: 194.3 kB / 0.5282 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3352, allocations: 77.11 kB / 0.5283 GB, free: 33.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.336, allocations: 1.019 MB / 0.5293 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.336, allocations: 29.7 kB / 0.5293 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3361, allocations: 235.8 kB / 0.5295 GB, free: 33.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.3361, allocations: 32.45 kB / 0.5296 GB, free: 33.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.3361, allocations: 0 / 0.5296 GB, free: 33.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.3362, allocations: 378.6 kB / 0.5299 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.3363, allocations: 25.58 kB / 0.5299 GB, free: 32.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.3364, allocations: 59.92 kB / 0.53 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3365, allocations: 85.31 kB / 0.5301 GB, free: 32.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3365, allocations: 0 / 0.5301 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002265/0.3368, allocations: 178.4 kB / 0.5302 GB, free: 32.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3368, allocations: 5.781 kB / 0.5303 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3368, allocations: 2.906 kB / 0.5303 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3368, allocations: 0 / 0.5303 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3369, allocations: 27.84 kB / 0.5303 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.337, allocations: 2.969 kB / 0.5303 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.337, allocations: 9.812 kB / 0.5303 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.3371, allocations: 10.75 kB / 0.5303 GB, free: 32.74 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.3372, allocations: 220.3 kB / 0.5305 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3373, allocations: 50.72 kB / 0.5306 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.3373, allocations: 59.88 kB / 0.5306 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3373, allocations: 2.812 kB / 0.5306 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3374, allocations: 4 kB / 0.5306 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3374, allocations: 3.141 kB / 0.5306 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.3376, allocations: 338.4 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3376, allocations: 3.984 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.3376, allocations: 9.125 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3376, allocations: 2.438 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3376, allocations: 2.75 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3376, allocations: 0 / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3377, allocations: 3.938 kB / 0.531 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3379, allocations: 204.5 kB / 0.5312 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.338, allocations: 147.2 kB / 0.5313 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.3381, allocations: 9.922 kB / 0.5313 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.3381, allocations: 6.781 kB / 0.5313 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3382, allocations: 7.984 kB / 0.5313 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3382, allocations: 8.031 kB / 0.5313 GB, free: 32.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005931/0.3388, allocations: 0.7591 MB / 0.5321 GB, free: 31.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 0.5321 GB, free: 31.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3391, allocations: 43.52 kB / 0.5321 GB, free: 31.75 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008993/0.34, allocations: 482.2 kB / 0.5326 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3402, allocations: 82.91 kB / 0.5327 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3402, allocations: 0 / 0.5327 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.3403, allocations: 38.22 kB / 0.5327 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3407, allocations: 78.48 kB / 0.5328 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.3416, allocations: 0.9425 MB / 0.5337 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.3419, allocations: 0.8444 MB / 0.5345 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.342, allocations: 61.62 kB / 0.5346 GB, free: 30.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.3421, allocations: 26.22 kB / 0.5346 GB, free: 30.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3421, allocations: 7.938 kB / 0.5346 GB, free: 30.18 MB / 378.7 MB Notification: Performance of Templates: time 0.006842/0.3489, allocations: 3.456 MB / 0.538 GB, free: 29.86 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches