Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 109 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002639/0.002639, allocations: 205.8 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 230.2 MB / 257.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 46.89 MB / 361 MB, free: 4.488 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 79.86 kB / 0.4962 GB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5052, allocations: 66.02 MB / 0.5607 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003504/0.5087, allocations: 1.749 MB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.5107, allocations: 1.045 MB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.5108, allocations: 0 / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.5111, allocations: 63.73 kB / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.5115, allocations: 107.5 kB / 0.5636 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.5117, allocations: 75.67 kB / 0.5637 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.5119, allocations: 99.75 kB / 0.5638 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.802e-05/0.512, allocations: 13.81 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.5121, allocations: 47.73 kB / 0.5638 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.5121, allocations: 31.78 kB / 0.5639 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5122, allocations: 8 kB / 0.5639 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.5123, allocations: 39.98 kB / 0.5639 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.93e-05/0.5123, allocations: 35.84 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.5124, allocations: 43.67 kB / 0.564 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.5128, allocations: 139.4 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5128, allocations: 0 / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5128, allocations: 0 / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.5128, allocations: 0 / 0.5641 GB, free: 1.176 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.0007673/0.5136, allocations: 462.3 kB / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5136, allocations: 8.031 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.5137, allocations: 34.75 kB / 0.5646 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.5137, allocations: 16.84 kB / 0.5646 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.5141, allocations: 231.8 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5141, allocations: 4.375 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.5141, allocations: 4.375 kB / 0.5648 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.5143, allocations: 57.8 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5143, allocations: 3.984 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5143, allocations: 0 / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5143, allocations: 4 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.5144, allocations: 23.92 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.5149, allocations: 296.9 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.5151, allocations: 54.67 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.5152, allocations: 16.84 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.5152, allocations: 11.94 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5154, allocations: 67.33 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5154, allocations: 0 / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.516, allocations: 193.2 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.516, allocations: 59.41 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.5164, allocations: 271.9 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.5164, allocations: 29.7 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.5165, allocations: 120.1 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.5165, allocations: 19.86 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5166, allocations: 29.7 kB / 0.566 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.5168, allocations: 330.7 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.5168, allocations: 23.98 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.5169, allocations: 33.7 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.517, allocations: 69.66 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.517, allocations: 0 / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.5172, allocations: 109.5 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.5172, allocations: 4 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5172, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5173, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.5174, allocations: 16 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5174, allocations: 0 / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.5174, allocations: 11.98 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.5174, allocations: 4.406 kB / 0.5666 GB, free: 14.36 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.0002593/0.5177, allocations: 143 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.5177, allocations: 15.91 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.518, allocations: 131.1 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.518, allocations: 4 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.518, allocations: 4 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.518, allocations: 0 / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.5185, allocations: 415.2 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5185, allocations: 0 / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.5186, allocations: 11.98 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5186, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5186, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5186, allocations: 7.938 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5186, allocations: 0 / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.5188, allocations: 216.2 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.5189, allocations: 92.97 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.5189, allocations: 7.984 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.519, allocations: 7.938 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.519, allocations: 7.984 kB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.5191, allocations: 0 / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.5193, allocations: 216.6 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5193, allocations: 0 / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.5195, allocations: 28 kB / 0.5679 GB, free: 12.96 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.002353/0.5219, allocations: 1.084 MB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.5221, allocations: 63.83 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5221, allocations: 0 / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.5222, allocations: 23.98 kB / 0.569 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.5226, allocations: 45.16 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.525, allocations: 1.863 MB / 0.5709 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.5255, allocations: 0.7197 MB / 0.5716 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.5256, allocations: 20.97 kB / 0.5716 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.5257, allocations: 43.42 kB / 0.5716 GB, free: 9.121 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5257, allocations: 0 / 0.5716 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.5536, allocations: 3.914 MB / 0.5755 GB, free: 5.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.669, allocations: 14.84 kB / 0.5755 GB, free: 5.195 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.1222381060943]