Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001798/0.001798, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001536/0.001536, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2298/0.2298, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.002056/0.002056, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4854, allocations: 65.47 MB / 0.5571 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003926/0.4893, allocations: 1.755 MB / 0.5588 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.4924, allocations: 1.743 MB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.4925, allocations: 3.938 kB / 0.5605 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.4928, allocations: 27.78 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003788/0.4932, allocations: 103.6 kB / 0.5606 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.4934, allocations: 79.67 kB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.4936, allocations: 115.7 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4937, allocations: 21.75 kB / 0.5608 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.4939, allocations: 43.8 kB / 0.5609 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.494, allocations: 43.83 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.4941, allocations: 4 kB / 0.5609 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.4943, allocations: 115.9 kB / 0.561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.4944, allocations: 27.91 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.4944, allocations: 35.73 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.4948, allocations: 179.2 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4948, allocations: 8 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4948, allocations: 0 / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.4948, allocations: 0 / 0.5613 GB, free: 3.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007272/0.4955, allocations: 361.4 kB / 0.5616 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4956, allocations: 12.03 kB / 0.5616 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.4956, allocations: 34.75 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.4957, allocations: 8.891 kB / 0.5617 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.496, allocations: 158.3 kB / 0.5618 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4961, allocations: 4.375 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.4961, allocations: 11.94 kB / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4963, allocations: 75.31 kB / 0.5619 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4963, allocations: 3.953 kB / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4963, allocations: 0 / 0.5619 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4963, allocations: 4 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4964, allocations: 31.97 kB / 0.5619 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.4969, allocations: 263.9 kB / 0.5622 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.4971, allocations: 78.55 kB / 0.5623 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.4972, allocations: 16.86 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.4972, allocations: 12.05 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.4974, allocations: 67.39 kB / 0.5624 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.4974, allocations: 4 kB / 0.5624 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006214/0.498, allocations: 201.3 kB / 0.5626 GB, free: 1.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4981, allocations: 77.11 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.4983, allocations: 178.1 kB / 0.5628 GB, free: 1.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4983, allocations: 29.7 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.4984, allocations: 92.14 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.4984, allocations: 39.73 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.4985, allocations: 21.72 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4986, allocations: 322.8 kB / 0.5633 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.4987, allocations: 27.98 kB / 0.5633 GB, free: 1.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.4988, allocations: 46.56 kB / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.4989, allocations: 81.66 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4989, allocations: 4 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.4991, allocations: 117.5 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4992, allocations: 4 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4992, allocations: 0 / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4992, allocations: 4 kB / 0.5636 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4993, allocations: 15.98 kB / 0.5636 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4993, allocations: 4.469 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.4993, allocations: 7.938 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4993, allocations: 4 kB / 0.5636 GB, free: 0.8555 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 (11): * Single equations (assignments): 11 * 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.0001255/0.4995, allocations: 129.8 kB / 0.5637 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.4995, allocations: 7.953 kB / 0.5637 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.4998, allocations: 134.3 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4998, allocations: 7.938 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4998, allocations: 0 / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4998, allocations: 3.938 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.5003, allocations: 386.3 kB / 0.5642 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5003, allocations: 0 / 0.5642 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.5004, allocations: 16.02 kB / 0.5642 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5004, allocations: 7.938 kB / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5004, allocations: 0 / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5004, allocations: 0 / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5004, allocations: 0 / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.5007, allocations: 216.5 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.5008, allocations: 19.89 kB / 0.5645 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.5008, allocations: 11.94 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.5009, allocations: 0 / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5009, allocations: 11.98 kB / 0.5645 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5009, allocations: 4 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.501, allocations: 128.1 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.501, allocations: 0 / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003286/0.5014, allocations: 51.86 kB / 0.5647 GB, free: 15.65 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 (9): * Single equations (assignments): 7 * 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.002495/0.5039, allocations: 1.204 MB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.5041, allocations: 63.97 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5041, allocations: 0 / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.5042, allocations: 27.94 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.5045, allocations: 45.19 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.5066, allocations: 1.653 MB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.507, allocations: 0.7045 MB / 0.5683 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.245e-05/0.507, allocations: 28.55 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.5071, allocations: 35.42 kB / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5071, allocations: 0 / 0.5683 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.5403, allocations: 4.375 MB / 0.5726 GB, free: 7.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.56, allocations: 14.02 kB / 0.5726 GB, free: 7.621 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.785429759002]