Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 112.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 196.6 kB / 20.02 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.1 MB / 227.9 MB, free: 4.371 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4442/0.4442, allocations: 43.51 MB / 320.8 MB, free: 9.047 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.88 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3618, allocations: 57.79 MB / 0.496 GB, free: 19.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002927/0.3648, allocations: 1.705 MB / 0.4976 GB, free: 17.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.366, allocations: 0.8019 MB / 0.4984 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.3661, allocations: 1.531 kB / 0.4984 GB, free: 17.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.3665, allocations: 43.39 kB / 0.4985 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3667, allocations: 53.61 kB / 0.4985 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.367, allocations: 93.34 kB / 0.4986 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.3672, allocations: 98.12 kB / 0.4987 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3673, allocations: 13.91 kB / 0.4987 GB, free: 17.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.3674, allocations: 35.61 kB / 0.4987 GB, free: 17.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.3674, allocations: 40.61 kB / 0.4988 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3675, allocations: 4.844 kB / 0.4988 GB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.3676, allocations: 34.5 kB / 0.4988 GB, free: 17.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.3676, allocations: 22.5 kB / 0.4988 GB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3677, allocations: 40.55 kB / 0.4989 GB, free: 17.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.3679, allocations: 119.8 kB / 0.499 GB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3679, allocations: 4 kB / 0.499 GB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3679, allocations: 1.25 kB / 0.499 GB, free: 16.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3679, allocations: 0 / 0.499 GB, free: 16.99 MB / 382.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.0004735/0.3684, allocations: 416 kB / 0.4994 GB, free: 16.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3685, allocations: 14.11 kB / 0.4994 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.3685, allocations: 31.88 kB / 0.4994 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3685, allocations: 9.328 kB / 0.4994 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3688, allocations: 213.2 kB / 0.4997 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3688, allocations: 9.469 kB / 0.4997 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3688, allocations: 6.5 kB / 0.4997 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3689, allocations: 53.33 kB / 0.4997 GB, free: 16.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.369, allocations: 5.141 kB / 0.4997 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.369, allocations: 0 / 0.4997 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.369, allocations: 1.188 kB / 0.4997 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.3691, allocations: 18.3 kB / 0.4997 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.3694, allocations: 295 kB / 0.5 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3695, allocations: 65.64 kB / 0.5001 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.3696, allocations: 21.06 kB / 0.5001 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3696, allocations: 1.25 kB / 0.5001 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.3698, allocations: 65.86 kB / 0.5002 GB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.3698, allocations: 0 / 0.5002 GB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005174/0.3703, allocations: 177.6 kB / 0.5003 GB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3703, allocations: 61.67 kB / 0.5004 GB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3705, allocations: 198.5 kB / 0.5006 GB, free: 15.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3705, allocations: 27.05 kB / 0.5006 GB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.3706, allocations: 100.3 kB / 0.5007 GB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3706, allocations: 27.53 kB / 0.5007 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3706, allocations: 20.41 kB / 0.5008 GB, free: 15.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.3707, allocations: 331.2 kB / 0.5011 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-05/0.3708, allocations: 22.89 kB / 0.5011 GB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.838e-05/0.3708, allocations: 38.8 kB / 0.5011 GB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3709, allocations: 67.09 kB / 0.5012 GB, free: 14.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3709, allocations: 0.9688 kB / 0.5012 GB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001631/0.3711, allocations: 98.97 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3711, allocations: 9.719 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3711, allocations: 1.031 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3712, allocations: 1.219 kB / 0.5013 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.3713, allocations: 16.02 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3713, allocations: 1.062 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.3713, allocations: 10.31 kB / 0.5013 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3713, allocations: 3.281 kB / 0.5013 GB, free: 14.79 MB / 382.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 7.605e-05/0.3714, allocations: 131.9 kB / 0.5015 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.3715, allocations: 8.984 kB / 0.5015 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.3715, allocations: 23.14 kB / 0.5015 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3715, allocations: 1.094 kB / 0.5015 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3715, allocations: 0 / 0.5015 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3715, allocations: 5 kB / 0.5015 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.3719, allocations: 393.4 kB / 0.5019 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3719, allocations: 1.406 kB / 0.5019 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3719, allocations: 7.594 kB / 0.5019 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.372, allocations: 9 kB / 0.5019 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.372, allocations: 9.047 kB / 0.5019 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.372, allocations: 1.094 kB / 0.5019 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.372, allocations: 1.125 kB / 0.5019 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.3722, allocations: 200.7 kB / 0.5021 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3722, allocations: 88.2 kB / 0.5022 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.3723, allocations: 5.062 kB / 0.5022 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.3723, allocations: 10.36 kB / 0.5022 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3724, allocations: 7.25 kB / 0.5022 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3724, allocations: 3.469 kB / 0.5022 GB, free: 13.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3725, allocations: 147.9 kB / 0.5023 GB, free: 13.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3725, allocations: 0 / 0.5023 GB, free: 13.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3728, allocations: 27.98 kB / 0.5024 GB, free: 13.82 MB / 382.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.001842/0.3746, allocations: 1.107 MB / 0.5034 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.3748, allocations: 66.36 kB / 0.5035 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3748, allocations: 0 / 0.5035 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.3749, allocations: 25.84 kB / 0.5035 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3752, allocations: 40.41 kB / 0.5036 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3766, allocations: 1.654 MB / 0.5052 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3768, allocations: 0.7061 MB / 0.5059 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.3768, allocations: 14.12 kB / 0.5059 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.3769, allocations: 34.36 kB / 0.5059 GB, free: 10.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3769, allocations: 1.125 kB / 0.5059 GB, free: 10.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4021, allocations: 3.432 MB / 0.5093 GB, free: 8.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.377, allocations: 9.844 kB / 0.5093 GB, free: 8.574 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.892770958947949]