Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.001614/0.001614, allocations: 114 kB / 17.13 MB, free: 5.918 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.001352/0.001352, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.76/1.76, allocations: 207.6 MB / 230.5 MB, free: 4.039 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.4309/0.4309, allocations: 44.23 MB / 326.6 MB, free: 6.836 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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.002135/0.002135, allocations: 71.91 kB / 462.3 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3811, allocations: 60.99 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003131/0.3842, allocations: 1.716 MB / 0.5127 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3855, allocations: 0.81 MB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.3856, allocations: 1.531 kB / 0.5135 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.3859, allocations: 47.38 kB / 0.5135 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.3861, allocations: 66.31 kB / 0.5136 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.3864, allocations: 80.61 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3866, allocations: 99.03 kB / 0.5138 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3867, allocations: 11.75 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.3868, allocations: 48.17 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.3868, allocations: 30.33 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3869, allocations: 3.594 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.387, allocations: 38.14 kB / 0.5139 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.387, allocations: 28.69 kB / 0.5139 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.3871, allocations: 30.03 kB / 0.5139 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3873, allocations: 125.2 kB / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3873, allocations: 0 / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3873, allocations: 0 / 0.5141 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3873, allocations: 0 / 0.5141 GB, free: 10.89 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.0005662/0.3879, allocations: 416.9 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3879, allocations: 13.48 kB / 0.5145 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.388, allocations: 32.12 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.388, allocations: 9.016 kB / 0.5145 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3883, allocations: 225.3 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3883, allocations: 1.75 kB / 0.5147 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3883, allocations: 5.312 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3885, allocations: 54.05 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3885, allocations: 1.375 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3885, allocations: 3.984 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3885, allocations: 1.375 kB / 0.5148 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.3886, allocations: 22.73 kB / 0.5148 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.389, allocations: 294.6 kB / 0.5151 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3892, allocations: 51.22 kB / 0.5151 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.3892, allocations: 21.16 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3893, allocations: 1.344 kB / 0.5152 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.3894, allocations: 72.92 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3894, allocations: 0 / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006074/0.39, allocations: 170 kB / 0.5154 GB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3901, allocations: 56.25 kB / 0.5155 GB, free: 9.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.3903, allocations: 203.9 kB / 0.5156 GB, free: 9.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.3903, allocations: 25.7 kB / 0.5157 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3904, allocations: 105.9 kB / 0.5158 GB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.3904, allocations: 23.98 kB / 0.5158 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.3904, allocations: 28.42 kB / 0.5158 GB, free: 9.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.3905, allocations: 321.5 kB / 0.5161 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.3906, allocations: 20.03 kB / 0.5161 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.3907, allocations: 43.19 kB / 0.5162 GB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3908, allocations: 58.14 kB / 0.5162 GB, free: 8.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3908, allocations: 1.281 kB / 0.5162 GB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002085/0.391, allocations: 107.9 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.391, allocations: 5.375 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.391, allocations: 0 / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.391, allocations: 1.375 kB / 0.5164 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.3911, allocations: 21.78 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3911, allocations: 0 / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.3912, allocations: 10.77 kB / 0.5164 GB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3912, allocations: 6.781 kB / 0.5164 GB, free: 8.688 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.961e-05/0.3913, allocations: 123.6 kB / 0.5165 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3913, allocations: 8.859 kB / 0.5165 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.193e-05/0.3914, allocations: 22.91 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3914, allocations: 0.9688 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3914, allocations: 1.062 kB / 0.5165 GB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3914, allocations: 3.938 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3918, allocations: 394.8 kB / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3918, allocations: 0 / 0.5169 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.3918, allocations: 15.7 kB / 0.5169 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3918, allocations: 9.188 kB / 0.5169 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3918, allocations: 6.5 kB / 0.517 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3918, allocations: 0 / 0.517 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3918, allocations: 5.219 kB / 0.517 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3921, allocations: 192.3 kB / 0.5171 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3921, allocations: 87.77 kB / 0.5172 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3921, allocations: 18.67 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.698e-05/0.3922, allocations: 1.375 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3922, allocations: 4.125 kB / 0.5172 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3923, allocations: 6.734 kB / 0.5173 GB, free: 7.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.3924, allocations: 147.5 kB / 0.5174 GB, free: 7.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3924, allocations: 1.375 kB / 0.5174 GB, free: 7.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3926, allocations: 28.42 kB / 0.5174 GB, free: 7.73 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.001954/0.3946, allocations: 1.11 MB / 0.5185 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3948, allocations: 59.53 kB / 0.5186 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3948, allocations: 0 / 0.5186 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.3949, allocations: 24.48 kB / 0.5186 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3952, allocations: 28.27 kB / 0.5186 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3967, allocations: 1.659 MB / 0.5202 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3969, allocations: 0.7079 MB / 0.5209 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.3969, allocations: 17.19 kB / 0.5209 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.397, allocations: 35.42 kB / 0.521 GB, free: 4.297 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.397, allocations: 0 / 0.521 GB, free: 4.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4234, allocations: 3.466 MB / 0.5244 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.324, allocations: 6.625 kB / 0.5244 GB, free: 0.7578 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_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_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.820951433008304]