Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001948/0.001948, 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.002378/0.002378, allocations: 214.4 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2292/0.2292, allocations: 44.92 MB / 358.8 MB, free: 6.363 MB / 286.1 MB " [Timeout remaining time 179] 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.002097/0.002097, allocations: 71.89 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 65.47 MB / 0.5571 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003417/0.4248, allocations: 1.744 MB / 0.5588 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4267, allocations: 1.045 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.4268, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.4271, allocations: 47.77 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.4274, allocations: 99.48 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.4277, allocations: 79.72 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4279, allocations: 103.7 kB / 0.5601 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.428, allocations: 13.77 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4281, allocations: 47.77 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.4282, allocations: 31.86 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.4282, allocations: 4 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.4283, allocations: 47.91 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.4284, allocations: 23.92 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.262e-05/0.4284, allocations: 31.75 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.4287, allocations: 127.4 kB / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4287, allocations: 0 / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4287, allocations: 0 / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4287, allocations: 0 / 0.5604 GB, free: 4.301 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.0005914/0.4293, allocations: 345.6 kB / 0.5608 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4293, allocations: 8.031 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.4294, allocations: 38.69 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.4294, allocations: 8.891 kB / 0.5608 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.4297, allocations: 162.9 kB / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.4297, allocations: 384 / 0.561 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.4297, allocations: 7.938 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4299, allocations: 53.67 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4299, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.4299, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4299, allocations: 0 / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.43, allocations: 23.92 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.4304, allocations: 264 kB / 0.5613 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4305, allocations: 50.69 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.4306, allocations: 20.84 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4306, allocations: 0 / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.4308, allocations: 75.33 kB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4308, allocations: 3.938 kB / 0.5615 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.4313, allocations: 185.3 kB / 0.5616 GB, free: 2.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4314, allocations: 51.41 kB / 0.5617 GB, free: 2.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4316, allocations: 202.2 kB / 0.5619 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4316, allocations: 25.7 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.4317, allocations: 108.1 kB / 0.562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.4318, allocations: 19.8 kB / 0.562 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.4318, allocations: 33.7 kB / 0.5621 GB, free: 2.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4319, allocations: 322.8 kB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.432, allocations: 20 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.4321, allocations: 37.64 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.4322, allocations: 57.64 kB / 0.5625 GB, free: 2.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4322, allocations: 8 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001877/0.4324, allocations: 97.59 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4324, allocations: 7.984 kB / 0.5626 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4324, allocations: 4.375 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4324, allocations: 0 / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.4325, allocations: 15.94 kB / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4325, allocations: 4 kB / 0.5626 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.4326, allocations: 7.938 kB / 0.5626 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4326, allocations: 11.98 kB / 0.5626 GB, free: 1.859 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 (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.0001147/0.4327, allocations: 121.9 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.4327, allocations: 11.91 kB / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.433, allocations: 123 kB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.433, allocations: 0 / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.433, allocations: 0 / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.433, allocations: 3.938 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.4335, allocations: 366.4 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4335, allocations: 4.031 kB / 0.5632 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.4335, allocations: 8 kB / 0.5632 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.4335, allocations: 3.938 kB / 0.5632 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4335, allocations: 4 kB / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4335, allocations: 0 / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4335, allocations: 0 / 0.5632 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.4338, allocations: 212.5 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.4338, allocations: 15.94 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.4338, allocations: 7.938 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.4339, allocations: 4 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.4339, allocations: 7.984 kB / 0.5635 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.434, allocations: 4 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4341, allocations: 148.2 kB / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4341, allocations: 0 / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.4344, allocations: 23.94 kB / 0.5636 GB, free: 0.7148 MB / 398.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.002179/0.4365, allocations: 1.102 MB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.4367, allocations: 51.97 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4367, allocations: 0 / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.4368, allocations: 31.92 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.4371, allocations: 19.98 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.439, allocations: 1.662 MB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4394, allocations: 0.7041 MB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.4395, allocations: 21.28 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.4395, allocations: 39.41 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4395, allocations: 4 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.4696, allocations: 3.616 MB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.21, allocations: 11.86 kB / 0.5707 GB, free: 9.566 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_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_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.515108491003048]