Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001682/0.001682, 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.001933/0.001933, allocations: 214.6 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.622/1.622, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.94 MB / 360.9 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 71.88 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3899, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004895/0.3948, allocations: 1.736 MB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.398, allocations: 1.049 MB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3981, allocations: 7.938 kB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.3985, allocations: 39.77 kB / 0.5635 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.399, allocations: 95.59 kB / 0.5636 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.3994, allocations: 75.69 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3997, allocations: 103.7 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3998, allocations: 17.83 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4, allocations: 47.72 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.4001, allocations: 31.84 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.4001, allocations: 4 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.4003, allocations: 39.98 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.4004, allocations: 19.92 kB / 0.5639 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.519e-05/0.4004, allocations: 43.66 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.4008, allocations: 115.5 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.4008, allocations: 4 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4008, allocations: 0 / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4008, allocations: 0 / 0.5641 GB, free: 1.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007833/0.4016, allocations: 341.6 kB / 0.5644 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.4016, allocations: 12.02 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.556e-05/0.4017, allocations: 38.75 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.4018, allocations: 16.78 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.4022, allocations: 150.2 kB / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4022, allocations: 384 / 0.5646 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.4023, allocations: 11.94 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.4025, allocations: 53.67 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4025, allocations: 0 / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.4025, allocations: 4 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4025, allocations: 0 / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.4026, allocations: 19.98 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.4032, allocations: 256 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.4035, allocations: 62.61 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.346e-05/0.4036, allocations: 20.84 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.4036, allocations: 0 / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.4039, allocations: 63.39 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.4039, allocations: 0 / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008471/0.4047, allocations: 181.3 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.4048, allocations: 59.41 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.4051, allocations: 175.2 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.4051, allocations: 33.7 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4052, allocations: 104.1 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.4053, allocations: 27.78 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.4053, allocations: 21.66 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4055, allocations: 326.8 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.4056, allocations: 19.98 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.4058, allocations: 37.7 kB / 0.566 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.406, allocations: 61.7 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.406, allocations: 0 / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003431/0.4063, allocations: 109.9 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4063, allocations: 8 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4063, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.4064, allocations: 0 / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4065, allocations: 27.95 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4065, allocations: 7.938 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.4066, allocations: 7.938 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4066, allocations: 4 kB / 0.5662 GB, free: 14.59 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001583/0.4068, allocations: 117.8 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.4068, allocations: 16.12 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.4072, allocations: 107 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.4072, allocations: 7.938 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4072, allocations: 4 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4072, allocations: 7.922 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.4079, allocations: 362.4 kB / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4079, allocations: 0 / 0.5668 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.408, allocations: 11.94 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.408, allocations: 3.938 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.408, allocations: 0 / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.408, allocations: 4 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.408, allocations: 4.031 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.4084, allocations: 204.3 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.4084, allocations: 11.91 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.4085, allocations: 7.938 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4086, allocations: 4 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4087, allocations: 3.984 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4087, allocations: 11.94 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.4089, allocations: 141.8 kB / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4089, allocations: 0 / 0.5672 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.4094, allocations: 23.94 kB / 0.5672 GB, free: 13.46 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: 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 (8): * Single equations (assignments): 6 * 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.003263/0.4126, allocations: 1.093 MB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.4129, allocations: 51.92 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.4129, allocations: 0 / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.413, allocations: 31.98 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006091/0.4137, allocations: 29.61 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.4166, allocations: 1.642 MB / 0.57 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.4171, allocations: 0.7119 MB / 0.5707 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.747e-05/0.4172, allocations: 21.27 kB / 0.5707 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.4173, allocations: 31.42 kB / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4173, allocations: 0 / 0.5708 GB, free: 9.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.4566, allocations: 3.567 MB / 0.5742 GB, free: 6.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.36, allocations: 3.938 kB / 0.5742 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.640676133996749]