Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001581/0.001581, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002069/0.002069, allocations: 212 kB / 23.74 MB, free: 4.656 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.542/1.542, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2341/0.2341, allocations: 44.92 MB / 358.8 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.002342/0.002342, allocations: 63.91 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3671, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00347/0.3706, allocations: 1.953 MB / 0.559 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3725, allocations: 1.088 MB / 0.5601 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.3726, allocations: 7.938 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3729, allocations: 43.69 kB / 0.5601 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.3732, allocations: 99.48 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.3735, allocations: 107.6 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.3737, allocations: 143.5 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3738, allocations: 19.58 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.374, allocations: 63.7 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3741, allocations: 59.64 kB / 0.5606 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3741, allocations: 8 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3742, allocations: 47.98 kB / 0.5606 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3743, allocations: 27.91 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.3744, allocations: 55.61 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.3746, allocations: 155.2 kB / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3746, allocations: 0 / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3746, allocations: 0 / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3746, allocations: 0 / 0.5609 GB, free: 3.859 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006942/0.3753, allocations: 419.1 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3754, allocations: 8.031 kB / 0.5613 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.3754, allocations: 38.75 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.3755, allocations: 16.84 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3758, allocations: 174.9 kB / 0.5615 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3758, allocations: 8.375 kB / 0.5615 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3759, allocations: 11.92 kB / 0.5615 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3761, allocations: 108.2 kB / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3761, allocations: 3.938 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3761, allocations: 3.984 kB / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3761, allocations: 0 / 0.5616 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3763, allocations: 51.91 kB / 0.5617 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.3769, allocations: 488 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3772, allocations: 78.67 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.3773, allocations: 40.83 kB / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3773, allocations: 0 / 0.5622 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.3776, allocations: 87.31 kB / 0.5623 GB, free: 2.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3776, allocations: 4 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000432/0.378, allocations: 149.4 kB / 0.5625 GB, free: 2.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.378, allocations: 51.41 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.3783, allocations: 203.1 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3783, allocations: 29.7 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.3784, allocations: 120.1 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3784, allocations: 31.73 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.3784, allocations: 29.72 kB / 0.5629 GB, free: 1.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3786, allocations: 326.8 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.3787, allocations: 31.97 kB / 0.5633 GB, free: 1.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3788, allocations: 64.22 kB / 0.5633 GB, free: 1.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.379, allocations: 92.2 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.379, allocations: 0 / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002875/0.3793, allocations: 141.4 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3793, allocations: 8 kB / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3793, allocations: 0 / 0.5635 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3793, allocations: 7.938 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3794, allocations: 19.98 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3794, allocations: 7.938 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.3795, allocations: 15.89 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.3795, allocations: 4.125 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001227/0.3797, allocations: 132.6 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3797, allocations: 16.38 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.38, allocations: 126.9 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.38, allocations: 11.92 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.38, allocations: 0 / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.38, allocations: 0 / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3802, allocations: 180.6 kB / 0.564 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3802, allocations: 0 / 0.564 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.3803, allocations: 19.98 kB / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3803, allocations: 0 / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3803, allocations: 0 / 0.5641 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3803, allocations: 11.88 kB / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3803, allocations: 0 / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.3807, allocations: 184.9 kB / 0.5643 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.3807, allocations: 16 kB / 0.5643 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3807, allocations: 0 / 0.5643 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.3808, allocations: 11.92 kB / 0.5643 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3808, allocations: 8 kB / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3808, allocations: 11.98 kB / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.381, allocations: 143.3 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.381, allocations: 0 / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3812, allocations: 27.94 kB / 0.5645 GB, free: 15.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002093/0.3833, allocations: 1.004 MB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.3835, allocations: 79.83 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3836, allocations: 8.188 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3837, allocations: 36.17 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.384, allocations: 51.27 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3861, allocations: 1.758 MB / 0.5673 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.3865, allocations: 0.7123 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.3866, allocations: 29.41 kB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.3867, allocations: 39.42 kB / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3867, allocations: 0 / 0.5681 GB, free: 12.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.4244, allocations: 4.022 MB / 0.572 GB, free: 8.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 6.75 kB / 0.572 GB, free: 8.164 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.6988624939695]