Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009545/0.0009546, allocations: 192.3 kB / 17.43 MB, free: 4.398 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.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007185/0.0007184, allocations: 103.6 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3635/0.3635, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002673, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3366, allocations: 63.1 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001849/0.3385, allocations: 1.519 MB / 0.5229 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3401, allocations: 1.435 MB / 0.5243 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.3402, allocations: 6.562 kB / 0.5243 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.3406, allocations: 313.6 kB / 0.5246 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.3411, allocations: 232.5 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3414, allocations: 151.4 kB / 0.5249 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.3417, allocations: 245.5 kB / 0.5252 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.3418, allocations: 10.5 kB / 0.5252 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3419, allocations: 122.5 kB / 0.5253 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.3421, allocations: 192.7 kB / 0.5255 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3421, allocations: 2.969 kB / 0.5255 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.3422, allocations: 44.64 kB / 0.5255 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3423, allocations: 140.4 kB / 0.5257 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.3425, allocations: 167.7 kB / 0.5258 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3427, allocations: 361.8 kB / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3427, allocations: 0 / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3428, allocations: 0 / 0.5262 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3428, allocations: 3.938 kB / 0.5262 GB, free: 35.43 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.0007063/0.3435, allocations: 0.6724 MB / 0.5268 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3435, allocations: 8.688 kB / 0.5268 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.3436, allocations: 53.38 kB / 0.5269 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.344, allocations: 456.4 kB / 0.5273 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3441, allocations: 7.266 kB / 0.5273 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3441, allocations: 7.156 kB / 0.5273 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3443, allocations: 82.67 kB / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3443, allocations: 6.859 kB / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3443, allocations: 3.234 kB / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3443, allocations: 0 / 0.5274 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.3444, allocations: 32.77 kB / 0.5274 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3447, allocations: 375.2 kB / 0.5278 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.345, allocations: 105.1 kB / 0.5279 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.3451, allocations: 48.42 kB / 0.5279 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3451, allocations: 3.938 kB / 0.528 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.3453, allocations: 104.3 kB / 0.5281 GB, free: 33.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3453, allocations: 0 / 0.5281 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004187/0.3457, allocations: 202.2 kB / 0.5282 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3458, allocations: 83.97 kB / 0.5283 GB, free: 33.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.3467, allocations: 1.047 MB / 0.5293 GB, free: 33.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3467, allocations: 36.58 kB / 0.5294 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3468, allocations: 233 kB / 0.5296 GB, free: 33.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.3469, allocations: 32.88 kB / 0.5296 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.3469, allocations: 0 / 0.5296 GB, free: 33.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.347, allocations: 372.6 kB / 0.53 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.3471, allocations: 26.12 kB / 0.53 GB, free: 32.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.3472, allocations: 62.36 kB / 0.5301 GB, free: 32.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3473, allocations: 88 kB / 0.5302 GB, free: 32.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3473, allocations: 3.938 kB / 0.5302 GB, free: 32.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002476/0.3476, allocations: 173.3 kB / 0.5303 GB, free: 32.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3476, allocations: 9.203 kB / 0.5303 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.3476, allocations: 3.156 kB / 0.5303 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3476, allocations: 0 / 0.5303 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3478, allocations: 20.88 kB / 0.5304 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3478, allocations: 2.906 kB / 0.5304 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.3479, allocations: 7.062 kB / 0.5304 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3479, allocations: 9.719 kB / 0.5304 GB, free: 32.63 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.0001864/0.3481, allocations: 230.2 kB / 0.5306 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.3481, allocations: 50.66 kB / 0.5306 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.3482, allocations: 64.7 kB / 0.5307 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3482, allocations: 0 / 0.5307 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3482, allocations: 3.281 kB / 0.5307 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3483, allocations: 0 / 0.5307 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3485, allocations: 351.8 kB / 0.531 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3485, allocations: 4 kB / 0.5311 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.3486, allocations: 9.906 kB / 0.5311 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3486, allocations: 2.281 kB / 0.5311 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3486, allocations: 5.516 kB / 0.5311 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3486, allocations: 0 / 0.5311 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3486, allocations: 7.922 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3489, allocations: 203.2 kB / 0.5313 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.349, allocations: 146.5 kB / 0.5314 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3491, allocations: 10.31 kB / 0.5314 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3492, allocations: 5.703 kB / 0.5314 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3492, allocations: 12.78 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3492, allocations: 9.719 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006399/0.3499, allocations: 0.7737 MB / 0.5322 GB, free: 31.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3499, allocations: 3.938 kB / 0.5322 GB, free: 31.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.3501, allocations: 46.7 kB / 0.5322 GB, free: 31.61 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.0008951/0.351, allocations: 485.7 kB / 0.5327 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3512, allocations: 82.58 kB / 0.5328 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3513, allocations: 0 / 0.5328 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.3513, allocations: 38.81 kB / 0.5328 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.3518, allocations: 65.17 kB / 0.5329 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.3528, allocations: 0.9743 MB / 0.5338 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3531, allocations: 0.8488 MB / 0.5347 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3532, allocations: 57.17 kB / 0.5347 GB, free: 30.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.3532, allocations: 33.67 kB / 0.5348 GB, free: 30.04 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3533, allocations: 0 / 0.5348 GB, free: 30.04 MB / 378.7 MB Notification: Performance of Templates: time 0.007993/0.3612, allocations: 3.505 MB / 0.5382 GB, free: 29.71 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches