Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001409/0.001409, allocations: 113.1 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.001517/0.001517, allocations: 214.4 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.527/1.527, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2285/0.2285, allocations: 44.91 MB / 358.8 MB, free: 6.379 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.002046/0.002046, allocations: 67.89 kB / 0.4932 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003299/0.3601, allocations: 1.776 MB / 0.5588 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.362, allocations: 1.053 MB / 0.5599 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.3621, allocations: 7.938 kB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.3625, allocations: 107.7 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.3629, allocations: 123.5 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3632, allocations: 83.66 kB / 0.5602 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.3634, allocations: 147.6 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3636, allocations: 15.36 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3637, allocations: 63.75 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3639, allocations: 83.72 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3639, allocations: 8 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.364, allocations: 59.98 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.3641, allocations: 47.77 kB / 0.5606 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.3642, allocations: 39.69 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3644, allocations: 167.3 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3644, allocations: 3.984 kB / 0.5608 GB, free: 3.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3644, allocations: 0 / 0.5608 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3644, allocations: 0 / 0.5608 GB, free: 3.957 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000694/0.3651, allocations: 393.2 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3652, allocations: 16.03 kB / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.3652, allocations: 30.75 kB / 0.5612 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3653, allocations: 16.84 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3655, allocations: 171.1 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3656, allocations: 8.375 kB / 0.5614 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3656, allocations: 7.938 kB / 0.5614 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3658, allocations: 69.66 kB / 0.5615 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3658, allocations: 7.953 kB / 0.5615 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3658, allocations: 0 / 0.5615 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3658, allocations: 8 kB / 0.5615 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3659, allocations: 43.89 kB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.3663, allocations: 299.8 kB / 0.5618 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.3666, allocations: 66.55 kB / 0.5619 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.3667, allocations: 24.84 kB / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3667, allocations: 8 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3669, allocations: 75.33 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3669, allocations: 0 / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008904/0.3678, allocations: 313.7 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3678, allocations: 55.41 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.3681, allocations: 259.7 kB / 0.5626 GB, free: 1.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3681, allocations: 29.7 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.3682, allocations: 120.1 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.3683, allocations: 51.58 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3683, allocations: 33.7 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3685, allocations: 326.8 kB / 0.5631 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.96e-05/0.3686, allocations: 35.98 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3687, allocations: 60.5 kB / 0.5632 GB, free: 1.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3689, allocations: 105.6 kB / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.3689, allocations: 0 / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002782/0.3692, allocations: 157.6 kB / 0.5634 GB, free: 1.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3692, allocations: 8 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3692, allocations: 0 / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3693, allocations: 7.875 kB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.3694, allocations: 27.98 kB / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3694, allocations: 0 / 0.5635 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.3694, allocations: 12.03 kB / 0.5635 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.3694, allocations: 4 kB / 0.5635 GB, free: 0.9531 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 (16): * Single equations (assignments): 16 * 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.0001294/0.3696, allocations: 141.7 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3696, allocations: 23.84 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.37, allocations: 182.8 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.37, allocations: 4 kB / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.37, allocations: 0 / 0.5638 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.37, allocations: 4.094 kB / 0.5638 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006182/0.3706, allocations: 487 kB / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3706, allocations: 0 / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3707, allocations: 16 kB / 0.5643 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3707, allocations: 8 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3707, allocations: 7.984 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3707, allocations: 0 / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3707, allocations: 0 / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.371, allocations: 265.2 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3711, allocations: 11.91 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.3711, allocations: 8 kB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.3712, allocations: 0 / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.3712, allocations: 20.25 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.3712, allocations: 8 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.3714, allocations: 193.5 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3714, allocations: 3.938 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.3717, allocations: 39.88 kB / 0.5649 GB, free: 15.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002558/0.3743, allocations: 1.207 MB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.3745, allocations: 95.89 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3745, allocations: 3.938 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3746, allocations: 47.92 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.375, allocations: 37.45 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.3775, allocations: 1.997 MB / 0.5682 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3779, allocations: 0.7318 MB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.013e-05/0.378, allocations: 25.41 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3781, allocations: 55.41 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3781, allocations: 0 / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.41, allocations: 4.546 MB / 0.5734 GB, free: 6.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 14.03 kB / 0.5734 GB, free: 6.859 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.7053418320138]