Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 200 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.25/1.25, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007792/0.0007788, allocations: 95.09 kB / 299.8 MB, free: 5.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3321/0.3321, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002958, allocations: 11.98 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3322, allocations: 63.09 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001675/0.334, allocations: 1.517 MB / 0.5229 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3353, allocations: 1.442 MB / 0.5243 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.106e-05/0.3354, allocations: 3.938 kB / 0.5243 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.3358, allocations: 308.8 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.3362, allocations: 234.2 kB / 0.5248 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3365, allocations: 145.8 kB / 0.5249 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.3367, allocations: 252.5 kB / 0.5252 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.3368, allocations: 7.406 kB / 0.5252 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3369, allocations: 122.5 kB / 0.5253 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.3371, allocations: 199.5 kB / 0.5255 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.3371, allocations: 2.688 kB / 0.5255 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.3372, allocations: 39.89 kB / 0.5255 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3373, allocations: 139.5 kB / 0.5257 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.3374, allocations: 171.3 kB / 0.5258 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.3377, allocations: 357.1 kB / 0.5262 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3377, allocations: 3.938 kB / 0.5262 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3377, allocations: 0 / 0.5262 GB, free: 35.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3377, allocations: 0 / 0.5262 GB, free: 35.42 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.0006405/0.3384, allocations: 0.6749 MB / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3384, allocations: 8.219 kB / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.3385, allocations: 51.22 kB / 0.5269 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3389, allocations: 457.5 kB / 0.5273 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3389, allocations: 384 / 0.5273 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3389, allocations: 7.031 kB / 0.5273 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3391, allocations: 89.09 kB / 0.5274 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3391, allocations: 7.984 kB / 0.5274 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3391, allocations: 5.828 kB / 0.5274 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3391, allocations: 0 / 0.5274 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.3392, allocations: 32 kB / 0.5275 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.3395, allocations: 372.2 kB / 0.5278 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3397, allocations: 110.4 kB / 0.5279 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.37e-05/0.3398, allocations: 40.69 kB / 0.528 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.3398, allocations: 2.906 kB / 0.528 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.34, allocations: 114.1 kB / 0.5281 GB, free: 33.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.3401, allocations: 0 / 0.5281 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003634/0.3404, allocations: 193.3 kB / 0.5282 GB, free: 33.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3405, allocations: 84.05 kB / 0.5283 GB, free: 33.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.3413, allocations: 1.05 MB / 0.5294 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3413, allocations: 29.64 kB / 0.5294 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3414, allocations: 239.2 kB / 0.5296 GB, free: 33.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.3414, allocations: 29.44 kB / 0.5296 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3414, allocations: 0 / 0.5296 GB, free: 33.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.3415, allocations: 372.2 kB / 0.53 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.3416, allocations: 29.48 kB / 0.53 GB, free: 32.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3417, allocations: 60.22 kB / 0.5301 GB, free: 32.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.3418, allocations: 88.97 kB / 0.5302 GB, free: 32.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3418, allocations: 3.938 kB / 0.5302 GB, free: 32.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000224/0.3421, allocations: 176.5 kB / 0.5303 GB, free: 32.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3421, allocations: 5.812 kB / 0.5303 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3421, allocations: 3.125 kB / 0.5303 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3421, allocations: 0 / 0.5303 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.3422, allocations: 21.98 kB / 0.5304 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3422, allocations: 11.12 kB / 0.5304 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.3423, allocations: 5.812 kB / 0.5304 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3423, allocations: 10.88 kB / 0.5304 GB, free: 32.61 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.0001531/0.3425, allocations: 220.7 kB / 0.5306 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.3426, allocations: 53.94 kB / 0.5307 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.3426, allocations: 63.69 kB / 0.5307 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3426, allocations: 0 / 0.5307 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3426, allocations: 0 / 0.5307 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3427, allocations: 10.12 kB / 0.5307 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3429, allocations: 349 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3429, allocations: 3.219 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3429, allocations: 5.688 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3429, allocations: 0 / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.343, allocations: 2.5 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.343, allocations: 3.938 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.343, allocations: 2.906 kB / 0.5311 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.3433, allocations: 211.7 kB / 0.5313 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.3434, allocations: 144.5 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3434, allocations: 2.656 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.3435, allocations: 8.781 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3435, allocations: 9.766 kB / 0.5314 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3436, allocations: 9.516 kB / 0.5314 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006077/0.3442, allocations: 0.7746 MB / 0.5322 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 7.938 kB / 0.5322 GB, free: 31.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.3444, allocations: 42.03 kB / 0.5322 GB, free: 31.6 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.0008213/0.3452, allocations: 483.2 kB / 0.5327 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3455, allocations: 78.33 kB / 0.5328 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3455, allocations: 0 / 0.5328 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.3456, allocations: 42.98 kB / 0.5328 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3459, allocations: 82.64 kB / 0.5329 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.3469, allocations: 0.9726 MB / 0.5339 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3472, allocations: 0.8441 MB / 0.5347 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.3473, allocations: 56.77 kB / 0.5347 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.3473, allocations: 33.05 kB / 0.5348 GB, free: 30.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3473, allocations: 4 kB / 0.5348 GB, free: 30.02 MB / 378.7 MB Notification: Performance of Templates: time 0.007009/0.3544, allocations: 3.491 MB / 0.5382 GB, free: 29.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches