Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.002086/0.002086, allocations: 113.5 kB / 17.13 MB, free: 5.891 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.002417/0.002417, allocations: 212.3 kB / 20.09 MB, free: 2.941 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.804/1.804, allocations: 207.6 MB / 230.5 MB, free: 4.027 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.4101/0.4101, allocations: 44.23 MB / 326.6 MB, free: 6.82 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.002421/0.002421, allocations: 79.88 kB / 462.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3785, allocations: 61 MB / 0.511 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003009/0.3815, allocations: 1.714 MB / 0.5127 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3827, allocations: 0.8076 MB / 0.5135 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.3828, allocations: 0 / 0.5135 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.3831, allocations: 42.67 kB / 0.5135 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.3833, allocations: 60.67 kB / 0.5136 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.3835, allocations: 85.12 kB / 0.5137 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.3837, allocations: 95.02 kB / 0.5138 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3838, allocations: 16.02 kB / 0.5138 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.3839, allocations: 43.69 kB / 0.5138 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.3839, allocations: 34.88 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.384, allocations: 4.156 kB / 0.5138 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3841, allocations: 37.92 kB / 0.5139 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.3841, allocations: 23.5 kB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3842, allocations: 36.56 kB / 0.5139 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3844, allocations: 112.7 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3844, allocations: 0 / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3844, allocations: 0 / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3844, allocations: 1.375 kB / 0.514 GB, free: 11 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.0005257/0.3849, allocations: 415.6 kB / 0.5144 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.385, allocations: 12.11 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.385, allocations: 32.12 kB / 0.5145 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.385, allocations: 14.34 kB / 0.5145 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3852, allocations: 223.2 kB / 0.5147 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3853, allocations: 1.75 kB / 0.5147 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3853, allocations: 5.312 kB / 0.5147 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3854, allocations: 58.03 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3855, allocations: 1.375 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3855, allocations: 0 / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3855, allocations: 1.375 kB / 0.5148 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.3855, allocations: 17.61 kB / 0.5148 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.3858, allocations: 290.9 kB / 0.5151 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.386, allocations: 55.42 kB / 0.5151 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.3861, allocations: 17.52 kB / 0.5151 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3861, allocations: 0 / 0.5151 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.3862, allocations: 77.52 kB / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3862, allocations: 0 / 0.5152 GB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005653/0.3868, allocations: 178.5 kB / 0.5154 GB, free: 9.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3868, allocations: 52.41 kB / 0.5154 GB, free: 9.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.387, allocations: 190.2 kB / 0.5156 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.387, allocations: 30.8 kB / 0.5156 GB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.3871, allocations: 100.6 kB / 0.5157 GB, free: 9.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3871, allocations: 23.22 kB / 0.5158 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.3871, allocations: 29.42 kB / 0.5158 GB, free: 9.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.3872, allocations: 326.1 kB / 0.5161 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.652e-05/0.3872, allocations: 18.09 kB / 0.5161 GB, free: 8.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.3873, allocations: 43.8 kB / 0.5162 GB, free: 8.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3874, allocations: 55.11 kB / 0.5162 GB, free: 8.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3874, allocations: 0 / 0.5162 GB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.3876, allocations: 111.7 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3876, allocations: 5.281 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3876, allocations: 1.312 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3876, allocations: 0 / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3877, allocations: 13.72 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3877, allocations: 1.438 kB / 0.5163 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.3878, allocations: 13.58 kB / 0.5164 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3878, allocations: 6.406 kB / 0.5164 GB, free: 8.797 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 0.0001023/0.3879, allocations: 122.9 kB / 0.5165 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3879, allocations: 9.797 kB / 0.5165 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.388, allocations: 16.73 kB / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.388, allocations: 1.438 kB / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.388, allocations: 0 / 0.5165 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.388, allocations: 5.312 kB / 0.5165 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3884, allocations: 397.1 kB / 0.5169 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3884, allocations: 0 / 0.5169 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.3884, allocations: 15.7 kB / 0.5169 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3884, allocations: 5.125 kB / 0.5169 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3884, allocations: 1.594 kB / 0.5169 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3884, allocations: 1.469 kB / 0.5169 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3884, allocations: 0 / 0.5169 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3886, allocations: 200.3 kB / 0.5171 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.3886, allocations: 88.86 kB / 0.5172 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3887, allocations: 13.56 kB / 0.5172 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.3887, allocations: 5.234 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.3888, allocations: 4.281 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3888, allocations: 3.031 kB / 0.5172 GB, free: 7.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3889, allocations: 146.4 kB / 0.5174 GB, free: 7.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3889, allocations: 0 / 0.5174 GB, free: 7.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.3892, allocations: 20.5 kB / 0.5174 GB, free: 7.855 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.001941/0.3911, allocations: 1.123 MB / 0.5185 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3913, allocations: 52.92 kB / 0.5185 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3913, allocations: 0 / 0.5185 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.3914, allocations: 23.11 kB / 0.5185 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3918, allocations: 37.62 kB / 0.5186 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3931, 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.0001298/0.3933, allocations: 0.7041 MB / 0.5209 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.3933, allocations: 21.11 kB / 0.5209 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.3934, allocations: 31.42 kB / 0.5209 GB, free: 4.371 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3934, allocations: 0 / 0.5209 GB, free: 4.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.4212, allocations: 3.387 MB / 0.5242 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.291, allocations: 7.969 kB / 0.5242 GB, free: 0.9023 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.783085031012888]