Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.001865/0.001865, allocations: 120.2 kB / 17.83 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.00156/0.00156, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.743/1.743, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.4725/0.4725, allocations: 44.23 MB / 327.3 MB, free: 7.109 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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.002108/0.002108, allocations: 71.91 kB / 463 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4212, allocations: 61 MB / 0.5117 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003525/0.4247, allocations: 1.857 MB / 0.5135 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.4264, allocations: 0.9092 MB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.4265, allocations: 3.938 kB / 0.5144 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.427, allocations: 162.7 kB / 0.5146 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.4274, allocations: 134.2 kB / 0.5147 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.4279, allocations: 147.3 kB / 0.5148 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.4282, allocations: 225.2 kB / 0.5151 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.4284, allocations: 16.33 kB / 0.5151 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.4286, allocations: 109.8 kB / 0.5152 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.4288, allocations: 134.4 kB / 0.5153 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.4289, allocations: 5.938 kB / 0.5153 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.429, allocations: 45.8 kB / 0.5154 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.4291, allocations: 53.92 kB / 0.5154 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.4292, allocations: 71.39 kB / 0.5155 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.4295, allocations: 197.3 kB / 0.5157 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4295, allocations: 0 / 0.5157 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4295, allocations: 4 kB / 0.5157 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4295, allocations: 1.375 kB / 0.5157 GB, free: 10.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006267/0.4301, allocations: 0.5165 MB / 0.5162 GB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4301, allocations: 13.48 kB / 0.5162 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.456e-05/0.4301, allocations: 2.938 kB / 0.5162 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.511e-05/0.4302, allocations: 36.12 kB / 0.5162 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4302, allocations: 27.75 kB / 0.5162 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.4306, allocations: 272.8 kB / 0.5165 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4306, allocations: 6.875 kB / 0.5165 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.4306, allocations: 6.75 kB / 0.5165 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.4308, allocations: 102.8 kB / 0.5166 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4308, allocations: 0 / 0.5166 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4308, allocations: 5.359 kB / 0.5166 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4308, allocations: 1.375 kB / 0.5166 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.431, allocations: 32.61 kB / 0.5167 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.4314, allocations: 447.6 kB / 0.5171 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.4317, allocations: 113 kB / 0.5172 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.4318, allocations: 40.83 kB / 0.5172 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4318, allocations: 5.312 kB / 0.5172 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.4321, allocations: 113.9 kB / 0.5173 GB, free: 8.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.4321, allocations: 7.938 kB / 0.5173 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001032/0.4331, allocations: 357.8 kB / 0.5177 GB, free: 8.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4332, allocations: 83.92 kB / 0.5178 GB, free: 8.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.4336, allocations: 350.8 kB / 0.5181 GB, free: 8.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4336, allocations: 32.45 kB / 0.5181 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.4337, allocations: 139.2 kB / 0.5183 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.4337, allocations: 63.75 kB / 0.5183 GB, free: 7.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.4338, allocations: 34.09 kB / 0.5184 GB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.4339, allocations: 337.7 kB / 0.5187 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.4339, allocations: 41.97 kB / 0.5187 GB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.434, allocations: 71.97 kB / 0.5188 GB, free: 7.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4342, allocations: 123.4 kB / 0.5189 GB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4342, allocations: 0 / 0.5189 GB, free: 7.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002598/0.4345, allocations: 177.4 kB / 0.5191 GB, free: 7.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4345, allocations: 8 kB / 0.5191 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4345, allocations: 0 / 0.5191 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4345, allocations: 7.938 kB / 0.5191 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.4347, allocations: 31.92 kB / 0.5191 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4347, allocations: 4 kB / 0.5191 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.4347, allocations: 16.05 kB / 0.5191 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4347, allocations: 4 kB / 0.5191 GB, free: 7.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001037/0.4348, allocations: 149.8 kB / 0.5193 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4349, allocations: 23.86 kB / 0.5193 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.4349, allocations: 34.05 kB / 0.5193 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4349, allocations: 3.938 kB / 0.5193 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4349, allocations: 4 kB / 0.5194 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.435, allocations: 3.984 kB / 0.5194 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.4355, allocations: 0.6171 MB / 0.52 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4355, allocations: 7.938 kB / 0.52 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.4356, allocations: 12 kB / 0.52 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4356, allocations: 4 kB / 0.52 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4356, allocations: 7.984 kB / 0.52 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4356, allocations: 4 kB / 0.52 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4356, allocations: 0 / 0.52 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.4359, allocations: 372.3 kB / 0.5203 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.4359, allocations: 104.9 kB / 0.5204 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.436, allocations: 0 / 0.5204 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.4361, allocations: 11.98 kB / 0.5205 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.4362, allocations: 19.97 kB / 0.5205 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.4362, allocations: 8 kB / 0.5205 GB, free: 5.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.4364, allocations: 265.9 kB / 0.5207 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 0 / 0.5207 GB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.4367, allocations: 32 kB / 0.5208 GB, free: 5.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00214/0.4388, allocations: 1.271 MB / 0.522 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.4391, allocations: 111.8 kB / 0.5221 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4391, allocations: 0 / 0.5221 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4392, allocations: 51.92 kB / 0.5222 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.4398, allocations: 56.39 kB / 0.5222 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/0.4423, allocations: 2.466 MB / 0.5246 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4425, allocations: 0.7476 MB / 0.5254 GB, free: 448 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.974e-05/0.4426, allocations: 29.94 kB / 0.5254 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.4427, allocations: 71.41 kB / 0.5255 GB, free: 348 kB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4427, allocations: 3.938 kB / 0.5255 GB, free: 344 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.4657, allocations: 5.467 MB / 0.5308 GB, free: 10.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/9.026, allocations: 13.75 kB / 0.5308 GB, free: 10.78 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.532561860978603]