Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001776/0.001776, 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.002561/0.002561, allocations: 214.7 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2347/0.2347, allocations: 44.92 MB / 358.8 MB, free: 6.27 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.002961/0.002961, allocations: 75.83 kB / 0.4932 GB, free: 10.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4182, allocations: 65.46 MB / 0.5571 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003587/0.4217, allocations: 1.765 MB / 0.5588 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.4238, allocations: 1.049 MB / 0.5598 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.4239, allocations: 7.938 kB / 0.5598 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.4244, allocations: 107.7 kB / 0.56 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.4248, allocations: 123.5 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.425, allocations: 83.67 kB / 0.5601 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.4252, allocations: 131.6 kB / 0.5603 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4253, allocations: 17.8 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.4255, allocations: 63.77 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.4256, allocations: 75.73 kB / 0.5604 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.4256, allocations: 8 kB / 0.5604 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4257, allocations: 63.95 kB / 0.5605 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.4258, allocations: 27.92 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.4259, allocations: 55.48 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.4262, allocations: 159.3 kB / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4262, allocations: 0 / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4262, allocations: 0 / 0.5607 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.4262, allocations: 0 / 0.5607 GB, free: 3.961 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006337/0.4268, allocations: 387.5 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4269, allocations: 16.03 kB / 0.5611 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.4269, allocations: 38.73 kB / 0.5611 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.4269, allocations: 16.84 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4273, allocations: 171.1 kB / 0.5613 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4273, allocations: 8.375 kB / 0.5613 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.4273, allocations: 3.938 kB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.4275, allocations: 65.66 kB / 0.5614 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4275, allocations: 4 kB / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4275, allocations: 0 / 0.5614 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4275, allocations: 4 kB / 0.5614 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4276, allocations: 35.92 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.428, allocations: 283.8 kB / 0.5617 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.4283, allocations: 66.64 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.4284, allocations: 32.78 kB / 0.5618 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.4284, allocations: 4 kB / 0.5618 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.4286, allocations: 79.52 kB / 0.5619 GB, free: 2.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 3.246e-06/0.4286, allocations: 3.984 kB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008539/0.4294, allocations: 277.1 kB / 0.5622 GB, free: 2.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4295, allocations: 59.34 kB / 0.5622 GB, free: 2.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.4298, allocations: 255.8 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.4298, allocations: 29.7 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.4299, allocations: 116.1 kB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.4299, allocations: 43.61 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.43, allocations: 33.7 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4301, allocations: 326.8 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.4302, allocations: 27.98 kB / 0.563 GB, free: 1.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.4303, allocations: 53.64 kB / 0.5631 GB, free: 1.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4305, allocations: 93.75 kB / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4305, allocations: 0 / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002574/0.4307, allocations: 145.5 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4308, allocations: 10.91 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4308, allocations: 0 / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4308, allocations: 4 kB / 0.5633 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.4309, allocations: 27.92 kB / 0.5633 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.4309, allocations: 4 kB / 0.5633 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.4309, allocations: 7.984 kB / 0.5633 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.431, allocations: 7.984 kB / 0.5633 GB, free: 1.062 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 (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.0001332/0.4311, allocations: 145.7 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.4311, allocations: 15.91 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.4315, allocations: 159 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4315, allocations: 3.938 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4315, allocations: 0 / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4315, allocations: 4 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.4321, allocations: 451 kB / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4321, allocations: 0 / 0.5641 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.4322, allocations: 19.94 kB / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4322, allocations: 0 / 0.5641 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.4322, allocations: 11.98 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4322, allocations: 0.7031 kB / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4322, allocations: 0 / 0.5641 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.4325, allocations: 253.1 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.4325, allocations: 11.91 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.4326, allocations: 0 / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.4326, allocations: 8 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.4327, allocations: 11.92 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4327, allocations: 11.98 kB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.4329, allocations: 193.5 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4329, allocations: 0 / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.4332, allocations: 31.94 kB / 0.5646 GB, free: 15.66 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 (12): * Single equations (assignments): 10 * 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.002543/0.4357, allocations: 1.197 MB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.436, allocations: 83.84 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.436, allocations: 0 / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.4361, allocations: 43.92 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.4364, allocations: 36.84 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4388, allocations: 1.953 MB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4392, allocations: 0.7201 MB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.4393, allocations: 29 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.4394, allocations: 51.42 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4394, allocations: 0 / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.4709, allocations: 4.402 MB / 0.5729 GB, free: 7.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.45, allocations: 4.062 kB / 0.5729 GB, free: 7.285 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.638380757067353]