Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001467/0.001467, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001712/0.001712, allocations: 211 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.2234/0.2234, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002053/0.002053, allocations: 59.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 65.48 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003271/0.3871, allocations: 1.783 MB / 0.5588 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.389, allocations: 1.042 MB / 0.5598 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-05/0.3891, allocations: 7.938 kB / 0.5598 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.3897, allocations: 299.3 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.3902, allocations: 259.2 kB / 0.5603 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.3904, allocations: 103.7 kB / 0.5604 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.3908, allocations: 267.2 kB / 0.5607 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.189e-05/0.3908, allocations: 9.797 kB / 0.5607 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.391, allocations: 123.5 kB / 0.5608 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.3913, allocations: 216 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3913, allocations: 8 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3914, allocations: 47.98 kB / 0.5611 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3916, allocations: 144.4 kB / 0.5612 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3917, allocations: 103.1 kB / 0.5613 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.3921, allocations: 376.1 kB / 0.5617 GB, free: 2.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3922, allocations: 3.984 kB / 0.5617 GB, free: 2.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3922, allocations: 0 / 0.5617 GB, free: 2.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3922, allocations: 3.938 kB / 0.5617 GB, free: 2.754 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009991/0.3932, allocations: 0.6767 MB / 0.5623 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3932, allocations: 8.031 kB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.3932, allocations: 42.73 kB / 0.5624 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.3933, allocations: 48.61 kB / 0.5624 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.3939, allocations: 378.6 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.394, allocations: 12.36 kB / 0.5628 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.394, allocations: 7.938 kB / 0.5628 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3942, allocations: 87.3 kB / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3942, allocations: 4 kB / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3942, allocations: 0 / 0.5629 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3942, allocations: 4 kB / 0.5629 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3943, allocations: 35.97 kB / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.3947, allocations: 329.5 kB / 0.5632 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.395, allocations: 109.1 kB / 0.5633 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.3951, allocations: 41.69 kB / 0.5634 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3952, allocations: 4 kB / 0.5634 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.3954, allocations: 113 kB / 0.5635 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3954, allocations: 4 kB / 0.5635 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004972/0.3959, allocations: 209.2 kB / 0.5637 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3959, allocations: 77.11 kB / 0.5638 GB, free: 416 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3971, allocations: 1.038 MB / 0.5648 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.3972, allocations: 29.7 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.3974, allocations: 236.1 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.3974, allocations: 23.84 kB / 0.5651 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.3975, allocations: 25.72 kB / 0.5651 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3977, allocations: 370.8 kB / 0.5654 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.3978, allocations: 35.97 kB / 0.5655 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3979, allocations: 63.36 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.3981, allocations: 91.41 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3981, allocations: 3.938 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000323/0.3984, allocations: 177.8 kB / 0.5658 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3984, allocations: 6.656 kB / 0.5658 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3984, allocations: 8 kB / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3984, allocations: 4.062 kB / 0.5658 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3985, allocations: 23.98 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3985, allocations: 4 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3987, allocations: 19.81 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3987, allocations: 4 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002355/0.3989, allocations: 225.7 kB / 0.5661 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.399, allocations: 47.67 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/0.3994, allocations: 201.8 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3994, allocations: 8 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3994, allocations: 3.984 kB / 0.5663 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3994, allocations: 0 / 0.5663 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.3997, allocations: 296.5 kB / 0.5666 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3998, allocations: 0 / 0.5666 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.3998, allocations: 8 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3998, allocations: 0 / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3998, allocations: 4 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3998, allocations: 0 / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3998, allocations: 3.938 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.4002, allocations: 233.4 kB / 0.5668 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4003, allocations: 63.59 kB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.4004, allocations: 4 kB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.4005, allocations: 7.984 kB / 0.5669 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4005, allocations: 15.92 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4005, allocations: 4.125 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008918/0.4014, allocations: 0.7721 MB / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4014, allocations: 0 / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000283/0.4017, allocations: 44 kB / 0.5677 GB, free: 12.2 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002303/0.404, allocations: 1.102 MB / 0.5688 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.4043, allocations: 83.89 kB / 0.5689 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4043, allocations: 0 / 0.5689 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4045, allocations: 39.92 kB / 0.5689 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.4049, allocations: 77.89 kB / 0.569 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.4107, allocations: 4.495 MB / 0.5734 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.411, allocations: 241.8 kB / 0.5736 GB, free: 6.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4111, allocations: 62.92 kB / 0.5737 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.4113, allocations: 147.4 kB / 0.5738 GB, free: 5.996 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4113, allocations: 0 / 0.5738 GB, free: 5.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.4494, allocations: 9.845 MB / 0.5834 GB, free: 12.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 3.984 kB / 0.5834 GB, free: 12.23 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.902029617223889]