Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001278/0.001278, 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.001448/0.001448, 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.91 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.002972/0.002972, allocations: 67.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3866, allocations: 65.46 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003663/0.3903, allocations: 1.964 MB / 0.559 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3922, allocations: 1.099 MB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.3923, allocations: 3.938 kB / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3926, allocations: 43.7 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.3929, allocations: 107.5 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3931, allocations: 87.72 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.3934, allocations: 155.5 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3935, allocations: 23.56 kB / 0.5605 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3937, allocations: 59.72 kB / 0.5605 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3938, allocations: 51.7 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3938, allocations: 8 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3939, allocations: 51.92 kB / 0.5606 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.394, allocations: 19.92 kB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.394, allocations: 63.59 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.3943, allocations: 155.3 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3943, allocations: 0 / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3943, allocations: 0 / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3943, allocations: 0 / 0.5609 GB, free: 3.832 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.0006593/0.395, allocations: 411 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.395, allocations: 12.03 kB / 0.5613 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.3951, allocations: 34.75 kB / 0.5613 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.3951, allocations: 20.83 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3954, allocations: 179 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.3954, allocations: 4.375 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.3955, allocations: 11.88 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3957, allocations: 104.2 kB / 0.5616 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3957, allocations: 0 / 0.5616 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3957, allocations: 4 kB / 0.5616 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3957, allocations: 8 kB / 0.5616 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3959, allocations: 51.84 kB / 0.5617 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.3966, allocations: 484.1 kB / 0.5621 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.3969, allocations: 90.59 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.397, allocations: 32.84 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.397, allocations: 3.938 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.3973, allocations: 87.31 kB / 0.5623 GB, free: 2.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3973, allocations: 4 kB / 0.5623 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004632/0.3977, allocations: 145.4 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3978, allocations: 55.41 kB / 0.5625 GB, free: 1.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.398, allocations: 203.1 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3981, allocations: 25.7 kB / 0.5627 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3982, allocations: 116.1 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3982, allocations: 31.73 kB / 0.5629 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.3983, allocations: 29.72 kB / 0.5629 GB, free: 1.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3984, allocations: 330.8 kB / 0.5632 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3985, allocations: 23.98 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3987, allocations: 64.27 kB / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3989, allocations: 92.22 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3989, allocations: 4 kB / 0.5634 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.3991, allocations: 141.8 kB / 0.5635 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3992, allocations: 8.219 kB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3992, allocations: 3.938 kB / 0.5635 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3992, allocations: 7.938 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3993, allocations: 27.97 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3993, allocations: 0 / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.3994, allocations: 19.88 kB / 0.5636 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3994, allocations: 4 kB / 0.5636 GB, free: 0.7656 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.0001197/0.3995, allocations: 129.8 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3995, allocations: 11.91 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.3998, allocations: 131 kB / 0.5639 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3998, allocations: 3.938 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3998, allocations: 4 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3998, allocations: 0 / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.4, allocations: 188.7 kB / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4, allocations: 0 / 0.5641 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/0.4001, allocations: 8 kB / 0.5641 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4001, allocations: 3.938 kB / 0.5641 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4001, allocations: 4 kB / 0.5641 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.4001, allocations: 11.92 kB / 0.5641 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4001, allocations: 0 / 0.5641 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.4005, allocations: 180.9 kB / 0.5643 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.4005, allocations: 11.94 kB / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4005, allocations: 0 / 0.5643 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.4006, allocations: 11.92 kB / 0.5643 GB, free: 0 / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.4006, allocations: 16.09 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4006, allocations: 4 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.4008, allocations: 147.2 kB / 0.5644 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4008, allocations: 192 / 0.5644 GB, free: 15.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.401, allocations: 27.94 kB / 0.5645 GB, free: 15.8 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.002108/0.4031, allocations: 1.018 MB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.4034, allocations: 71.91 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4034, allocations: 0 / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4035, allocations: 39.91 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.4038, allocations: 43.83 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4061, allocations: 1.762 MB / 0.5673 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.4066, allocations: 0.7161 MB / 0.568 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.4067, allocations: 21.41 kB / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.4067, allocations: 39.42 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4067, allocations: 0 / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.4417, allocations: 4.031 MB / 0.572 GB, free: 8.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.45, allocations: 6.688 kB / 0.572 GB, free: 8.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.54940847097896]