Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001817/0.001817, allocations: 122.2 kB / 17.84 MB, free: 5.242 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.002272/0.002272, allocations: 203.8 kB / 20.79 MB, free: 2.305 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.506/1.506, allocations: 207.6 MB / 231.2 MB, free: 4.133 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.3502/0.3502, allocations: 44.24 MB / 327.3 MB, free: 6.699 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.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.002441/0.002441, allocations: 71.91 kB / 463 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2925, allocations: 61.01 MB / 0.5117 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002645/0.2952, allocations: 1.698 MB / 0.5134 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2962, allocations: 0.8159 MB / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.2963, allocations: 1.594 kB / 0.5142 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.2966, allocations: 93.3 kB / 0.5143 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.2968, allocations: 74.59 kB / 0.5143 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.297, allocations: 93.3 kB / 0.5144 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.2972, allocations: 113.5 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.2973, allocations: 13.58 kB / 0.5145 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.2973, allocations: 58.77 kB / 0.5146 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.103e-05/0.2974, allocations: 66.77 kB / 0.5147 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2974, allocations: 1.875 kB / 0.5147 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.2975, allocations: 44.25 kB / 0.5147 GB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.2976, allocations: 26.77 kB / 0.5147 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.2976, allocations: 39.94 kB / 0.5148 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.2978, allocations: 118.2 kB / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2978, allocations: 1.375 kB / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2978, allocations: 0 / 0.5149 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2978, allocations: 0 / 0.5149 GB, free: 10.88 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.0004337/0.2983, allocations: 427.6 kB / 0.5153 GB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2983, allocations: 13.48 kB / 0.5153 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.2983, allocations: 192 / 0.5153 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.16e-05/0.2983, allocations: 40.11 kB / 0.5153 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2984, allocations: 14.34 kB / 0.5154 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2986, allocations: 216.6 kB / 0.5156 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2986, allocations: 5.5 kB / 0.5156 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2986, allocations: 6.75 kB / 0.5156 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2988, allocations: 54.05 kB / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.2988, allocations: 0 / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2988, allocations: 1.375 kB / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2988, allocations: 0 / 0.5156 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.2989, allocations: 26.98 kB / 0.5157 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.2991, allocations: 289.3 kB / 0.5159 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2993, allocations: 59.02 kB / 0.516 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.2994, allocations: 16.39 kB / 0.516 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2994, allocations: 5.188 kB / 0.516 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.2995, allocations: 69.06 kB / 0.5161 GB, free: 9.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.2995, allocations: 0 / 0.5161 GB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005636/0.3001, allocations: 179.5 kB / 0.5162 GB, free: 9.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3001, allocations: 56.66 kB / 0.5163 GB, free: 9.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3003, allocations: 230.5 kB / 0.5165 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3003, allocations: 27.05 kB / 0.5165 GB, free: 9.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.3004, allocations: 105.6 kB / 0.5166 GB, free: 9.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.3004, allocations: 35.67 kB / 0.5167 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.3004, allocations: 24.66 kB / 0.5167 GB, free: 9.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.3005, allocations: 323.3 kB / 0.517 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.3006, allocations: 27.48 kB / 0.517 GB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.538e-05/0.3006, allocations: 34.3 kB / 0.5171 GB, free: 8.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3007, allocations: 51.66 kB / 0.5171 GB, free: 8.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3007, allocations: 0 / 0.5171 GB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.3009, allocations: 112 kB / 0.5172 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3009, allocations: 5.594 kB / 0.5172 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3009, allocations: 5.438 kB / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.301, allocations: 0 / 0.5172 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.3011, allocations: 17.08 kB / 0.5172 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3011, allocations: 9.281 kB / 0.5173 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.3011, allocations: 2.812 kB / 0.5173 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3011, allocations: 1.969 kB / 0.5173 GB, free: 8.641 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 9.735e-05/0.3012, allocations: 131 kB / 0.5174 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3012, allocations: 9.578 kB / 0.5174 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.3013, allocations: 18.8 kB / 0.5174 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3013, allocations: 5.625 kB / 0.5174 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.3013, allocations: 3.938 kB / 0.5174 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3013, allocations: 2.062 kB / 0.5174 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.3017, allocations: 398.7 kB / 0.5178 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3017, allocations: 1.781 kB / 0.5178 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.3018, allocations: 6.906 kB / 0.5178 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3018, allocations: 9.234 kB / 0.5178 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3018, allocations: 9.328 kB / 0.5178 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3018, allocations: 5.438 kB / 0.5178 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3018, allocations: 1.25 kB / 0.5178 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.302, allocations: 212.1 kB / 0.518 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.302, allocations: 89.12 kB / 0.5181 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.302, allocations: 1.375 kB / 0.5181 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-05/0.3021, allocations: 5.359 kB / 0.5181 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.3021, allocations: 8.312 kB / 0.5181 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.3022, allocations: 6.75 kB / 0.5181 GB, free: 7.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.3023, allocations: 170.2 kB / 0.5183 GB, free: 7.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3023, allocations: 0 / 0.5183 GB, free: 7.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3026, allocations: 24.44 kB / 0.5183 GB, free: 7.66 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.001946/0.3045, allocations: 1.097 MB / 0.5194 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3047, allocations: 52.92 kB / 0.5195 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3047, allocations: 4.062 kB / 0.5195 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.3048, allocations: 27.81 kB / 0.5195 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3051, allocations: 32.83 kB / 0.5195 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.3064, allocations: 1.735 MB / 0.5212 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3065, allocations: 0.7119 MB / 0.5219 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.3066, allocations: 16.81 kB / 0.5219 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.3066, allocations: 35.42 kB / 0.522 GB, free: 4.004 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3066, allocations: 0 / 0.522 GB, free: 4.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.325, allocations: 3.59 MB / 0.5255 GB, free: 360 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.877, allocations: 22.34 kB / 0.5255 GB, free: 340 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.873966223967727]