Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2369/0.2369, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 79.86 kB / 481.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3436, allocations: 62.45 MB / 0.5311 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003403/0.3471, allocations: 1.828 MB / 0.5329 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3491, allocations: 1.099 MB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.3493, allocations: 1.219 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.3499, allocations: 291.7 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005387/0.3504, allocations: 252.5 kB / 0.5345 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3508, allocations: 104.4 kB / 0.5346 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.3511, allocations: 265.5 kB / 0.5349 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.3512, allocations: 13.73 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3513, allocations: 124 kB / 0.535 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3516, allocations: 192.8 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3516, allocations: 10.62 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3518, allocations: 47.05 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.352, allocations: 145.5 kB / 0.5354 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.3521, allocations: 142.4 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.3526, allocations: 366.1 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3526, allocations: 0 / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.26e-06/0.3527, allocations: 0.6562 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.3527, allocations: 3.938 kB / 0.5359 GB, free: 10.17 MB / 398.1 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.001081/0.3538, allocations: 0.7488 MB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3538, allocations: 13.06 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3539, allocations: 49.86 kB / 0.5367 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.3546, allocations: 453.5 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3546, allocations: 2.5 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3546, allocations: 11.3 kB / 0.5371 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.3549, allocations: 84.53 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3549, allocations: 3.938 kB / 0.5372 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3549, allocations: 4 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3549, allocations: 1.062 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.355, allocations: 32.12 kB / 0.5372 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3555, allocations: 375.7 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.3558, allocations: 113.6 kB / 0.5377 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3559, allocations: 41.73 kB / 0.5377 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3559, allocations: 1.031 kB / 0.5377 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.3562, allocations: 116.2 kB / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3562, allocations: 0 / 0.5379 GB, free: 8.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005368/0.3567, allocations: 209.2 kB / 0.5381 GB, free: 8.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.3568, allocations: 79.36 kB / 0.5381 GB, free: 8.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.358, allocations: 1.023 MB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.358, allocations: 31.17 kB / 0.5392 GB, free: 7.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3582, allocations: 234 kB / 0.5394 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.3583, allocations: 24.23 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.3583, allocations: 34.23 kB / 0.5394 GB, free: 7.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3585, allocations: 369.9 kB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.3586, allocations: 26.92 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3588, allocations: 62.38 kB / 0.5399 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.359, allocations: 89.52 kB / 0.54 GB, free: 6.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.359, allocations: 1.094 kB / 0.54 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003307/0.3593, allocations: 179.1 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3593, allocations: 4.312 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3593, allocations: 1.156 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3594, allocations: 2.562 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3595, allocations: 24.86 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3595, allocations: 6.562 kB / 0.5402 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.3596, allocations: 8.328 kB / 0.5402 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3596, allocations: 7.234 kB / 0.5402 GB, free: 6.867 MB / 398.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002376/0.3599, allocations: 236.8 kB / 0.5404 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.3599, allocations: 50.89 kB / 0.5405 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.725e-05/0.36, allocations: 58.44 kB / 0.5405 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3601, allocations: 1.312 kB / 0.5405 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3601, allocations: 5.156 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3601, allocations: 4 kB / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3604, allocations: 348.8 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3604, allocations: 0 / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.3605, allocations: 11.02 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3605, allocations: 1.219 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3605, allocations: 5.156 kB / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3605, allocations: 5.031 kB / 0.5409 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3605, allocations: 1.281 kB / 0.5409 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.3609, allocations: 208.7 kB / 0.5411 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3611, allocations: 138.4 kB / 0.5412 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.3611, allocations: 6.078 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.3612, allocations: 6.25 kB / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.3613, allocations: 12.3 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.3613, allocations: 4.438 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.3622, allocations: 0.7611 MB / 0.542 GB, free: 5.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3622, allocations: 0 / 0.542 GB, free: 5.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.3625, allocations: 52.05 kB / 0.542 GB, free: 5.648 MB / 398.1 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.00157/0.3641, allocations: 401 kB / 0.5424 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3643, allocations: 78.44 kB / 0.5425 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3644, allocations: 0 / 0.5425 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3645, allocations: 43.44 kB / 0.5425 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.365, allocations: 75.53 kB / 0.5426 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3663, allocations: 0.865 MB / 0.5434 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.3668, allocations: 0.8427 MB / 0.5443 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.3669, allocations: 62.89 kB / 0.5443 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.367, allocations: 35.42 kB / 0.5444 GB, free: 3.781 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.367, allocations: 0 / 0.5444 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Templates: time 0.009314/0.3763, allocations: 3.742 MB / 0.548 GB, free: 56 kB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches