Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.002002/0.002002, allocations: 118.1 kB / 17.13 MB, free: 5.777 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.002627/0.002627, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.617/1.617, allocations: 207.6 MB / 230.5 MB, free: 3.977 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.3524/0.3524, allocations: 44.23 MB / 326.5 MB, free: 6.84 MB / 254.1 MB " [Timeout remaining time 180] 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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.002151/0.002151, allocations: 67.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2803, allocations: 61 MB / 0.511 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002468/0.2827, allocations: 1.667 MB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2837, allocations: 0.7963 MB / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.2838, allocations: 0 / 0.5134 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.2841, allocations: 58.97 kB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.2843, allocations: 59.72 kB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2844, allocations: 80.14 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2846, allocations: 91.19 kB / 0.5137 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.2846, allocations: 6.484 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.2847, allocations: 47.3 kB / 0.5137 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.2848, allocations: 29.77 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2848, allocations: 2.25 kB / 0.5137 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.2849, allocations: 28.44 kB / 0.5138 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.2849, allocations: 37.61 kB / 0.5138 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.285, allocations: 37.06 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2851, allocations: 120 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2851, allocations: 0 / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2851, allocations: 1.188 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2852, allocations: 0 / 0.514 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004399/0.2856, allocations: 433 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2856, allocations: 13.42 kB / 0.5144 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.364e-05/0.2857, allocations: 30.75 kB / 0.5144 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.2857, allocations: 18.69 kB / 0.5144 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.2859, allocations: 213.6 kB / 0.5146 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2859, allocations: 6.312 kB / 0.5146 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2859, allocations: 5.688 kB / 0.5146 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2861, allocations: 47.08 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2861, allocations: 0 / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2861, allocations: 1 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.2861, allocations: 3.938 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.2861, allocations: 25.25 kB / 0.5147 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2863, allocations: 199 kB / 0.5149 GB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.2864, allocations: 49.28 kB / 0.515 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.2865, allocations: 20.19 kB / 0.515 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.2865, allocations: 1.156 kB / 0.515 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.2866, allocations: 67.89 kB / 0.515 GB, free: 9.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2866, allocations: 0 / 0.515 GB, free: 9.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002358/0.2868, allocations: 101 kB / 0.5151 GB, free: 9.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.2869, allocations: 56.94 kB / 0.5152 GB, free: 9.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.287, allocations: 265 kB / 0.5154 GB, free: 9.438 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.287, allocations: 27.08 kB / 0.5155 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.2871, allocations: 111 kB / 0.5156 GB, free: 9.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.2871, allocations: 6.703 kB / 0.5156 GB, free: 9.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.2871, allocations: 27.2 kB / 0.5156 GB, free: 9.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.2872, allocations: 327 kB / 0.5159 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.2872, allocations: 12.25 kB / 0.5159 GB, free: 8.941 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.2873, allocations: 31.27 kB / 0.516 GB, free: 8.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.2873, allocations: 43.58 kB / 0.516 GB, free: 8.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2873, allocations: 3.938 kB / 0.516 GB, free: 8.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001296/0.2875, allocations: 89.16 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.2875, allocations: 4.125 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2875, allocations: 1.688 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2875, allocations: 1.375 kB / 0.5161 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.2876, allocations: 16.23 kB / 0.5161 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2876, allocations: 1.375 kB / 0.5161 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.2876, allocations: 10.7 kB / 0.5161 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2876, allocations: 1.375 kB / 0.5161 GB, free: 8.801 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 (7): * Single equations (assignments): 7 * 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 6.705e-05/0.2877, allocations: 136.9 kB / 0.5163 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.2877, allocations: 13.41 kB / 0.5163 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.2878, allocations: 21.23 kB / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2878, allocations: 0 / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2878, allocations: 0 / 0.5163 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2878, allocations: 5.312 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.241e-05/0.2879, allocations: 198.2 kB / 0.5165 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2879, allocations: 0 / 0.5165 GB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.2879, allocations: 6.688 kB / 0.5165 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2879, allocations: 1.375 kB / 0.5165 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2879, allocations: 5.375 kB / 0.5165 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2879, allocations: 0 / 0.5165 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2879, allocations: 0 / 0.5165 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.288, allocations: 115.3 kB / 0.5166 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.2881, allocations: 87.75 kB / 0.5167 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2881, allocations: 5.359 kB / 0.5167 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.2881, allocations: 1.375 kB / 0.5167 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2881, allocations: 10.75 kB / 0.5167 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2882, allocations: 2.75 kB / 0.5167 GB, free: 8.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.2883, allocations: 194.6 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2883, allocations: 1.375 kB / 0.5169 GB, free: 8.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.2885, allocations: 24.27 kB / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001585/0.2901, allocations: 0.9683 MB / 0.5179 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.2902, allocations: 37.8 kB / 0.5179 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2902, allocations: 1.281 kB / 0.5179 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.2903, allocations: 18.2 kB / 0.5179 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2905, allocations: 28.23 kB / 0.5179 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.2919, allocations: 1.665 MB / 0.5196 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.292, allocations: 0.7158 MB / 0.5203 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.292, allocations: 20.53 kB / 0.5203 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.2921, allocations: 35.42 kB / 0.5203 GB, free: 4.941 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2921, allocations: 0 / 0.5203 GB, free: 4.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.3155, allocations: 3.412 MB / 0.5237 GB, free: 1.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.544, allocations: 15.95 kB / 0.5237 GB, free: 1.441 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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: 11.594129533041269]