Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001346/0.001346, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001458/0.001458, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2372/0.2372, allocations: 44.93 MB / 359.6 MB, free: 6.117 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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",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.002823/0.002823, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3916, allocations: 65.48 MB / 0.5578 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003738/0.3954, allocations: 1.911 MB / 0.5596 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3977, allocations: 1.139 MB / 0.5608 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.3978, allocations: 7.938 kB / 0.5608 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008356/0.3986, allocations: 199.4 kB / 0.561 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.3992, allocations: 215.2 kB / 0.5612 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.3997, allocations: 163.1 kB / 0.5613 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.4001, allocations: 267.3 kB / 0.5616 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.4002, allocations: 16.59 kB / 0.5616 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.4004, allocations: 115.5 kB / 0.5617 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.4006, allocations: 123.5 kB / 0.5618 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.4006, allocations: 11.94 kB / 0.5618 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.4008, allocations: 67.97 kB / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4009, allocations: 55.81 kB / 0.5619 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.401, allocations: 67.48 kB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.4015, allocations: 252.8 kB / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4015, allocations: 0 / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4015, allocations: 0 / 0.5623 GB, free: 2.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4015, allocations: 0 / 0.5623 GB, free: 2.934 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.001035/0.4025, allocations: 0.4906 MB / 0.5627 GB, free: 2.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4026, allocations: 15.97 kB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.4026, allocations: 8.125 kB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.4027, allocations: 34.75 kB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.4027, allocations: 24.8 kB / 0.5628 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.4031, allocations: 222.6 kB / 0.563 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4031, allocations: 16.11 kB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.4032, allocations: 4 kB / 0.563 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.4034, allocations: 129.9 kB / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4034, allocations: 0 / 0.5632 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.4034, allocations: 4 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4035, allocations: 8 kB / 0.5632 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4036, allocations: 51.95 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.4042, allocations: 336.7 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.4045, allocations: 121.2 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4046, allocations: 41.7 kB / 0.5637 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4046, allocations: 3.938 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.4049, allocations: 120.9 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.4049, allocations: 4 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005051/0.4054, allocations: 189.4 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4055, allocations: 110.8 kB / 0.5641 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.4059, allocations: 364.4 kB / 0.5645 GB, free: 464 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.406, allocations: 29.7 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4061, allocations: 140.1 kB / 0.5646 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.4061, allocations: 31.75 kB / 0.5647 GB, free: 252 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.4062, allocations: 29.7 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4064, allocations: 338.8 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4065, allocations: 39.97 kB / 0.565 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4067, allocations: 135.1 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.4069, allocations: 95.42 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4069, allocations: 3.938 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003254/0.4072, allocations: 154.1 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4073, allocations: 8 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4073, allocations: 4.094 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4073, allocations: 0 / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.4074, allocations: 23.98 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4074, allocations: 3.938 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4075, allocations: 27.81 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4076, allocations: 4 kB / 0.5655 GB, free: 15.34 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001913/0.4077, allocations: 145.8 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.4078, allocations: 31.81 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.4082, allocations: 183.4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4082, allocations: 8 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4082, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4082, allocations: 7.875 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.4085, allocations: 212.7 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4085, allocations: 3.984 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.4085, allocations: 8 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4085, allocations: 0 / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4086, allocations: 11.94 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.4086, allocations: 3.938 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4086, allocations: 0 / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.4089, allocations: 205.7 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.409, allocations: 27.78 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.409, allocations: 8 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.4091, allocations: 4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.4091, allocations: 19.91 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.4092, allocations: 4.062 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003135/0.4095, allocations: 267 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4095, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.4097, allocations: 36 kB / 0.5666 GB, free: 14.09 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002289/0.412, allocations: 1.074 MB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.4123, allocations: 103.9 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4123, allocations: 0 / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.4125, allocations: 47.92 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.4129, allocations: 80.25 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.416, allocations: 2.373 MB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4162, allocations: 136.8 kB / 0.5703 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.4163, allocations: 38.08 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4164, allocations: 75.41 kB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4164, allocations: 0 / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.4464, allocations: 6.356 MB / 0.5767 GB, free: 3.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.07, allocations: 18.42 kB / 0.5767 GB, free: 3.926 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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: 15.255658644950017]