Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 73.94 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3211, allocations: 65.46 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003964/0.3251, allocations: 1.753 MB / 0.5588 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.327, allocations: 1.045 MB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3271, allocations: 7.938 kB / 0.5598 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.3275, allocations: 39.7 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.3279, allocations: 95.59 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3281, allocations: 79.67 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.3284, allocations: 99.75 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3285, allocations: 9.812 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3286, allocations: 51.67 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.3287, allocations: 35.83 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3287, allocations: 8 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.3288, allocations: 36 kB / 0.5603 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.3289, allocations: 19.92 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.3289, allocations: 39.72 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3292, allocations: 119.5 kB / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3292, allocations: 3.938 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3292, allocations: 0 / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3292, allocations: 0 / 0.5604 GB, free: 4.297 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006147/0.3298, allocations: 329.6 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3299, allocations: 12.03 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.3299, allocations: 42.73 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.33, allocations: 8.891 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3303, allocations: 138.4 kB / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3303, allocations: 8.375 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3303, allocations: 3.938 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3305, allocations: 61.61 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3305, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3305, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3305, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.3306, allocations: 23.98 kB / 0.561 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.331, allocations: 259.9 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3312, allocations: 58.61 kB / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.3313, allocations: 16.86 kB / 0.5614 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3313, allocations: 7.938 kB / 0.5614 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.3315, allocations: 67.38 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3315, allocations: 0 / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005899/0.332, allocations: 169.6 kB / 0.5616 GB, free: 2.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3321, allocations: 51.41 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3323, allocations: 178.1 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3323, allocations: 25.7 kB / 0.5618 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.3324, allocations: 104.1 kB / 0.5619 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3324, allocations: 31.72 kB / 0.562 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3325, allocations: 25.72 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3326, allocations: 322.8 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.3327, allocations: 16.17 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.3327, allocations: 45.64 kB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.3329, allocations: 65.69 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3329, allocations: 0 / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.3331, allocations: 101.5 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3331, allocations: 4 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3331, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3331, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.3332, allocations: 23.98 kB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3332, allocations: 0 / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.3333, allocations: 3.969 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.3333, allocations: 8 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001152/0.3334, allocations: 132.6 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.3334, allocations: 11.94 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3336, allocations: 110.3 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.3337, allocations: 4 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3337, allocations: 0 / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3337, allocations: 3.938 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.3342, allocations: 362.4 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3342, allocations: 0 / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.3342, allocations: 8 kB / 0.5632 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3342, allocations: 3.938 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3342, allocations: 4 kB / 0.5632 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3342, allocations: 3.984 kB / 0.5632 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3342, allocations: 8.188 kB / 0.5632 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3345, allocations: 204.4 kB / 0.5634 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3345, allocations: 11.91 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3345, allocations: 11.94 kB / 0.5634 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.3346, allocations: 0 / 0.5634 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3347, allocations: 7.984 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3347, allocations: 4 kB / 0.5634 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3348, allocations: 128.1 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3348, allocations: 0 / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3351, allocations: 32.11 kB / 0.5636 GB, free: 0.8008 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002205/0.3373, allocations: 1.09 MB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.3374, allocations: 55.86 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3375, allocations: 0 / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.3375, allocations: 31.92 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3379, allocations: 33.81 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3398, allocations: 1.601 MB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3402, allocations: 0.7002 MB / 0.567 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.3402, allocations: 21.27 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3403, allocations: 35.42 kB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3403, allocations: 7.938 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.3688, allocations: 3.498 MB / 0.5705 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.51, allocations: 8.062 kB / 0.5705 GB, free: 9.82 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.540906354784966]