Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001352/0.001352, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.001544/0.001544, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.661/1.661, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.4298/0.4298, allocations: 44.23 MB / 327.3 MB, free: 6.695 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",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.002402/0.002402, allocations: 76.48 kB / 463 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3785, allocations: 61.01 MB / 0.5117 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004271/0.3828, allocations: 1.908 MB / 0.5136 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3845, allocations: 0.8569 MB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.3847, allocations: 1.438 kB / 0.5144 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.3851, allocations: 43.67 kB / 0.5144 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.3854, allocations: 66.19 kB / 0.5145 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.3857, allocations: 105.8 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.386, allocations: 142.4 kB / 0.5147 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3862, allocations: 24.72 kB / 0.5148 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3863, allocations: 62.77 kB / 0.5148 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3864, allocations: 40.62 kB / 0.5149 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3865, allocations: 7.094 kB / 0.5149 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3866, allocations: 42.23 kB / 0.5149 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.274e-05/0.3866, allocations: 29.81 kB / 0.5149 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.3867, allocations: 55.67 kB / 0.515 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.387, allocations: 146.3 kB / 0.5151 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.387, allocations: 3.938 kB / 0.5151 GB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.387, allocations: 5.375 kB / 0.5151 GB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.387, allocations: 0 / 0.5151 GB, free: 10.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006617/0.3877, allocations: 484.2 kB / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.3877, allocations: 13.48 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.708e-05/0.3878, allocations: 5.547 kB / 0.5156 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.3878, allocations: 45.44 kB / 0.5157 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.3878, allocations: 15.72 kB / 0.5157 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3882, allocations: 222.2 kB / 0.5159 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3883, allocations: 10.88 kB / 0.5159 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3883, allocations: 12.06 kB / 0.5159 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.3886, allocations: 114.3 kB / 0.516 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3886, allocations: 0 / 0.516 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3886, allocations: 1.375 kB / 0.516 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3886, allocations: 9.312 kB / 0.516 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.3888, allocations: 51.36 kB / 0.5161 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3894, allocations: 0.5021 MB / 0.5166 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.3898, allocations: 94.16 kB / 0.5167 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.3899, allocations: 33.91 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3899, allocations: 1.312 kB / 0.5167 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.3901, allocations: 76.22 kB / 0.5168 GB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 3.336e-06/0.3901, allocations: 9.031 kB / 0.5168 GB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004863/0.3906, allocations: 146.6 kB / 0.5169 GB, free: 8.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.3906, allocations: 52.62 kB / 0.517 GB, free: 8.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3908, allocations: 187.4 kB / 0.5172 GB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3908, allocations: 34.62 kB / 0.5172 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3909, allocations: 115 kB / 0.5173 GB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3909, allocations: 31.28 kB / 0.5173 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.391, allocations: 32.11 kB / 0.5174 GB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.391, allocations: 326.4 kB / 0.5177 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.3911, allocations: 27.08 kB / 0.5177 GB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/0.3912, allocations: 68.83 kB / 0.5178 GB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3914, allocations: 97.55 kB / 0.5179 GB, free: 8.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3914, allocations: 1.219 kB / 0.5179 GB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000252/0.3917, allocations: 137.6 kB / 0.518 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3917, allocations: 9.922 kB / 0.518 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.3917, allocations: 5.812 kB / 0.518 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3917, allocations: 5.375 kB / 0.518 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.3918, allocations: 22.59 kB / 0.518 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3918, allocations: 5.266 kB / 0.518 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.3919, allocations: 8.797 kB / 0.518 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3919, allocations: 4.312 kB / 0.518 GB, free: 7.906 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.286e-05/0.392, allocations: 126.3 kB / 0.5182 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.392, allocations: 14.66 kB / 0.5182 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.392, allocations: 29.28 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.392, allocations: 1.469 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.392, allocations: 1.281 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.392, allocations: 0 / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3922, allocations: 212.9 kB / 0.5184 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3922, allocations: 1.375 kB / 0.5184 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.3922, allocations: 13.61 kB / 0.5184 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3923, allocations: 0 / 0.5184 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3923, allocations: 9.312 kB / 0.5184 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3923, allocations: 1.375 kB / 0.5184 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3923, allocations: 4 kB / 0.5184 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.3926, allocations: 180.4 kB / 0.5186 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3926, allocations: 89.14 kB / 0.5187 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3927, allocations: 13.25 kB / 0.5187 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.3927, allocations: 8.109 kB / 0.5187 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3928, allocations: 6.734 kB / 0.5187 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3928, allocations: 6.812 kB / 0.5187 GB, free: 7.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.3929, allocations: 143.6 kB / 0.5189 GB, free: 7.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3929, allocations: 1.562 kB / 0.5189 GB, free: 7.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3931, allocations: 31.17 kB / 0.5189 GB, free: 7.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001867/0.395, allocations: 1.023 MB / 0.5199 GB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3952, allocations: 83.83 kB / 0.52 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3952, allocations: 0 / 0.52 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.3953, allocations: 35.92 kB / 0.52 GB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3957, allocations: 35.97 kB / 0.52 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3976, allocations: 1.755 MB / 0.5218 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3978, allocations: 0.7084 MB / 0.5225 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.3979, allocations: 17.42 kB / 0.5225 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/0.3979, allocations: 39.42 kB / 0.5225 GB, free: 3.375 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3979, allocations: 4 kB / 0.5225 GB, free: 3.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.42, allocations: 3.821 MB / 0.5262 GB, free: 15.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.471/8.891, allocations: 10.34 kB / 0.5262 GB, free: 15.48 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.255490024050232]