Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.0016/0.0016, allocations: 114.4 kB / 17.12 MB, free: 5.953 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.001371/0.001371, allocations: 204 kB / 20.09 MB, free: 3 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.527/1.527, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.4095/0.4095, allocations: 44.23 MB / 326.6 MB, free: 6.816 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.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.89 kB / 462.3 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.4001, allocations: 61 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003599/0.4037, allocations: 1.712 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4051, allocations: 0.811 MB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.904e-05/0.4052, allocations: 1.125 kB / 0.5135 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.4056, allocations: 43.52 kB / 0.5135 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.4058, allocations: 57.66 kB / 0.5136 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.4061, allocations: 88.2 kB / 0.5137 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.4063, allocations: 97.56 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4064, allocations: 9.312 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.109e-05/0.4065, allocations: 49.14 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.168e-05/0.4066, allocations: 28.86 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.4066, allocations: 7.5 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4067, allocations: 38.7 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.4067, allocations: 24.06 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.4068, allocations: 30.69 kB / 0.5139 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.407, allocations: 119.3 kB / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.407, allocations: 0 / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.407, allocations: 0 / 0.5141 GB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.407, allocations: 0 / 0.5141 GB, free: 10.81 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.0006174/0.4077, allocations: 416.4 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.4077, allocations: 12.92 kB / 0.5145 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.4078, allocations: 32.09 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.4078, allocations: 13.38 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4082, allocations: 218.2 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4082, allocations: 6.812 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.4082, allocations: 5.781 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4084, allocations: 54.73 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4084, allocations: 0 / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4084, allocations: 0 / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4084, allocations: 1.406 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.626e-05/0.4085, allocations: 17.73 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.4089, allocations: 282.5 kB / 0.5151 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.409, allocations: 64.27 kB / 0.5151 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.4091, allocations: 20.75 kB / 0.5151 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.4091, allocations: 5.188 kB / 0.5152 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4093, allocations: 68.97 kB / 0.5152 GB, free: 9.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.4093, allocations: 4 kB / 0.5152 GB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.4099, allocations: 173.5 kB / 0.5154 GB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4099, allocations: 52.81 kB / 0.5154 GB, free: 9.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4101, allocations: 186.2 kB / 0.5156 GB, free: 9.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.4101, allocations: 26.86 kB / 0.5156 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.4101, allocations: 105.2 kB / 0.5157 GB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.4102, allocations: 23.5 kB / 0.5158 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4102, allocations: 20.94 kB / 0.5158 GB, free: 9.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.4103, allocations: 329.8 kB / 0.5161 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.4103, allocations: 23.42 kB / 0.5161 GB, free: 8.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.847e-05/0.4104, allocations: 39.34 kB / 0.5162 GB, free: 8.746 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4105, allocations: 54.53 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4105, allocations: 1.969 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.4107, allocations: 114.4 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4107, allocations: 5.125 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4107, allocations: 0 / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4107, allocations: 1.469 kB / 0.5163 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4108, allocations: 16.8 kB / 0.5163 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4108, allocations: 1.25 kB / 0.5163 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.4109, allocations: 11.06 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4109, allocations: 1.75 kB / 0.5164 GB, free: 8.621 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 8.272e-05/0.411, allocations: 127.8 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.411, allocations: 16.47 kB / 0.5165 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.411, allocations: 13.84 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.411, allocations: 1.375 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4111, allocations: 0 / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4111, allocations: 3.938 kB / 0.5165 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.4114, allocations: 396.9 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4114, allocations: 1.281 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.4115, allocations: 12.23 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4115, allocations: 7.969 kB / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4115, allocations: 2.75 kB / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4115, allocations: 0 / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4115, allocations: 1.375 kB / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.4117, allocations: 200.7 kB / 0.5171 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4117, allocations: 87.77 kB / 0.5172 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.4118, allocations: 13.23 kB / 0.5172 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.4118, allocations: 10.75 kB / 0.5172 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4119, allocations: 2.75 kB / 0.5172 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.4119, allocations: 8.109 kB / 0.5172 GB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.412, allocations: 141.2 kB / 0.5174 GB, free: 7.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.412, allocations: 0 / 0.5174 GB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.4123, allocations: 24.48 kB / 0.5174 GB, free: 7.664 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.001984/0.4143, allocations: 1.107 MB / 0.5185 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.4144, allocations: 59.53 kB / 0.5185 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4145, allocations: 0 / 0.5185 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.4145, allocations: 20.5 kB / 0.5185 GB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4149, allocations: 40.25 kB / 0.5186 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4165, allocations: 1.628 MB / 0.5202 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.4167, allocations: 0.7002 MB / 0.5209 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.4167, allocations: 21.17 kB / 0.5209 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.4168, allocations: 39.36 kB / 0.5209 GB, free: 4.367 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4168, allocations: 0 / 0.5209 GB, free: 4.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.4449, allocations: 3.387 MB / 0.5242 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.484, allocations: 4.062 kB / 0.5242 GB, free: 0.9023 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.649068800994428]