Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001396/0.001396, allocations: 122.1 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.00175/0.00175, allocations: 204.6 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.655/1.655, allocations: 207.6 MB / 231.2 MB, free: 4.109 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.4062/0.4062, allocations: 44.23 MB / 327.3 MB, free: 6.781 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.003324/0.003324, allocations: 67.91 kB / 463 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4408, allocations: 61.02 MB / 0.5117 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003962/0.4447, allocations: 1.913 MB / 0.5136 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4463, allocations: 0.8518 MB / 0.5144 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.4465, allocations: 5.125 kB / 0.5144 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.4469, allocations: 45.2 kB / 0.5144 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.4472, allocations: 60.72 kB / 0.5145 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.4475, allocations: 110.8 kB / 0.5146 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.4478, allocations: 139.2 kB / 0.5147 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4479, allocations: 28.61 kB / 0.5148 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.4481, allocations: 62.19 kB / 0.5148 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4482, allocations: 44.72 kB / 0.5149 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.4482, allocations: 8.469 kB / 0.5149 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.4483, allocations: 45.25 kB / 0.5149 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.4484, allocations: 25.7 kB / 0.515 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.4485, allocations: 51.27 kB / 0.515 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.4488, allocations: 157.9 kB / 0.5151 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4488, allocations: 1.094 kB / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4488, allocations: 0 / 0.5152 GB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4489, allocations: 0 / 0.5152 GB, free: 10.43 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.0007414/0.4496, allocations: 484 kB / 0.5156 GB, free: 9.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.4497, allocations: 14.05 kB / 0.5156 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.4497, allocations: 1.469 kB / 0.5156 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.4497, allocations: 38.53 kB / 0.5157 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.4498, allocations: 15.34 kB / 0.5157 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.4501, allocations: 225.4 kB / 0.5159 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.4502, allocations: 15.28 kB / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.4502, allocations: 9.203 kB / 0.5159 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.4505, allocations: 113.4 kB / 0.516 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4505, allocations: 0 / 0.516 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4505, allocations: 5.062 kB / 0.516 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4506, allocations: 2.281 kB / 0.516 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4507, allocations: 54.05 kB / 0.5161 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.4514, allocations: 0.5035 MB / 0.5166 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.4518, allocations: 82.08 kB / 0.5167 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4519, allocations: 37.67 kB / 0.5167 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.4519, allocations: 4 kB / 0.5167 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.4522, allocations: 90.16 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.4522, allocations: 0 / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004913/0.4526, allocations: 151.7 kB / 0.5169 GB, free: 8.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.4527, allocations: 51.41 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4529, allocations: 187.4 kB / 0.5172 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.4529, allocations: 31.23 kB / 0.5172 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.453, allocations: 117.7 kB / 0.5173 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.453, allocations: 33.2 kB / 0.5173 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.453, allocations: 29.92 kB / 0.5174 GB, free: 8.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.4531, allocations: 322.8 kB / 0.5177 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.4532, allocations: 32.52 kB / 0.5177 GB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.4533, allocations: 67.52 kB / 0.5178 GB, free: 7.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4535, allocations: 97.66 kB / 0.5179 GB, free: 7.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4535, allocations: 5.359 kB / 0.5179 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002775/0.4538, allocations: 137.9 kB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4538, allocations: 6.125 kB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4538, allocations: 1.375 kB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4538, allocations: 9.297 kB / 0.518 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.4539, allocations: 23.38 kB / 0.518 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4539, allocations: 1.375 kB / 0.518 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.454, allocations: 17.38 kB / 0.518 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.454, allocations: 4.125 kB / 0.518 GB, free: 7.75 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.952e-05/0.4541, allocations: 124.6 kB / 0.5182 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4541, allocations: 18.77 kB / 0.5182 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.4541, allocations: 21.47 kB / 0.5182 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4542, allocations: 1.375 kB / 0.5182 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4542, allocations: 4 kB / 0.5182 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4542, allocations: 1.375 kB / 0.5182 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4543, allocations: 208.9 kB / 0.5184 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4543, allocations: 0 / 0.5184 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.4544, allocations: 13.61 kB / 0.5184 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4544, allocations: 1.375 kB / 0.5184 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4544, allocations: 5.312 kB / 0.5184 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4544, allocations: 3.938 kB / 0.5184 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4544, allocations: 1.375 kB / 0.5184 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.4548, allocations: 184.4 kB / 0.5186 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.4548, allocations: 93.08 kB / 0.5187 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.4548, allocations: 9.312 kB / 0.5187 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.966e-05/0.4549, allocations: 6.734 kB / 0.5187 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.4549, allocations: 4.125 kB / 0.5187 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.455, allocations: 2.75 kB / 0.5187 GB, free: 7.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.4551, allocations: 143.8 kB / 0.5189 GB, free: 6.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4551, allocations: 4.062 kB / 0.5189 GB, free: 6.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.4553, allocations: 31.12 kB / 0.5189 GB, free: 6.98 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.002023/0.4573, allocations: 1.022 MB / 0.5199 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.4576, allocations: 89.14 kB / 0.52 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4576, allocations: 0 / 0.52 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.4577, allocations: 33.08 kB / 0.52 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.458, allocations: 38.56 kB / 0.52 GB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4597, allocations: 1.747 MB / 0.5217 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4599, allocations: 0.7162 MB / 0.5224 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.4599, allocations: 17.42 kB / 0.5225 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.46, allocations: 43.42 kB / 0.5225 GB, free: 3.355 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.46, allocations: 0 / 0.5225 GB, free: 3.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.4817, allocations: 3.82 MB / 0.5262 GB, free: 15.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/8.905, allocations: 6.344 kB / 0.5262 GB, free: 15.46 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.295813046977855]