Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001861/0.001861, allocations: 120.3 kB / 17.84 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.002056/0.002056, allocations: 211.9 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.822/1.822, allocations: 207.6 MB / 231.2 MB, free: 4.125 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.4378/0.4378, allocations: 44.23 MB / 327.3 MB, free: 6.691 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002695/0.002695, allocations: 75.91 kB / 463 MB, free: 0.832 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4311, allocations: 60.99 MB / 0.5117 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004252/0.4353, allocations: 1.928 MB / 0.5136 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4366, allocations: 0.8528 MB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.4367, allocations: 1.062 kB / 0.5144 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.4371, allocations: 45.77 kB / 0.5144 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.4373, allocations: 66.91 kB / 0.5145 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.4375, allocations: 102.1 kB / 0.5146 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.4377, allocations: 141.9 kB / 0.5147 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4378, allocations: 29.27 kB / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4379, allocations: 62.34 kB / 0.5148 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.438, allocations: 44.88 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.4381, allocations: 6.844 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.4382, allocations: 42.88 kB / 0.5149 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.4382, allocations: 29.77 kB / 0.515 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.4383, allocations: 55.58 kB / 0.515 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.4385, allocations: 154.2 kB / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4385, allocations: 0 / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4385, allocations: 0 / 0.5152 GB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.4385, allocations: 2.125 kB / 0.5152 GB, free: 10.45 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.0006182/0.4391, allocations: 482.9 kB / 0.5156 GB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4392, allocations: 12.86 kB / 0.5156 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.4392, allocations: 7 kB / 0.5156 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.503e-05/0.4392, allocations: 36.16 kB / 0.5157 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.4393, allocations: 20.47 kB / 0.5157 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.4396, allocations: 221.1 kB / 0.5159 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4396, allocations: 8.312 kB / 0.5159 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4396, allocations: 16.33 kB / 0.5159 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4399, allocations: 113.8 kB / 0.516 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4399, allocations: 0 / 0.516 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4399, allocations: 1.375 kB / 0.516 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4399, allocations: 1.531 kB / 0.516 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.4401, allocations: 46.59 kB / 0.5161 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005056/0.4406, allocations: 0.5103 MB / 0.5166 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4409, allocations: 85.22 kB / 0.5167 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.441, allocations: 42.7 kB / 0.5167 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.441, allocations: 5.312 kB / 0.5167 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4412, allocations: 81.38 kB / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.4412, allocations: 0 / 0.5168 GB, free: 8.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003881/0.4416, allocations: 146 kB / 0.5169 GB, free: 8.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.4416, allocations: 56.78 kB / 0.517 GB, free: 8.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4418, allocations: 187.7 kB / 0.5172 GB, free: 8.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.4418, allocations: 31.08 kB / 0.5172 GB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.4419, allocations: 115.3 kB / 0.5173 GB, free: 8.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.4419, allocations: 39.78 kB / 0.5173 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.4419, allocations: 29.95 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.442, allocations: 323 kB / 0.5177 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.4421, allocations: 36.42 kB / 0.5177 GB, free: 8.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.4422, allocations: 67.52 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.4423, allocations: 93.34 kB / 0.5179 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4423, allocations: 1.375 kB / 0.5179 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002475/0.4426, allocations: 137.9 kB / 0.518 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4426, allocations: 5.5 kB / 0.518 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4426, allocations: 1.375 kB / 0.518 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4426, allocations: 5.312 kB / 0.518 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.4427, allocations: 27.3 kB / 0.518 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4427, allocations: 5.375 kB / 0.518 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.4428, allocations: 13.44 kB / 0.518 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.4428, allocations: 8 kB / 0.5181 GB, free: 7.773 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 7.807e-05/0.4429, allocations: 117.8 kB / 0.5182 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.4429, allocations: 14.41 kB / 0.5182 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.443, allocations: 29.58 kB / 0.5182 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.443, allocations: 1.312 kB / 0.5182 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.443, allocations: 1.656 kB / 0.5182 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.443, allocations: 4 kB / 0.5182 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.4431, allocations: 208.9 kB / 0.5184 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4431, allocations: 1.375 kB / 0.5184 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.4432, allocations: 13.64 kB / 0.5184 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4432, allocations: 0 / 0.5184 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4432, allocations: 5.375 kB / 0.5184 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4432, allocations: 0 / 0.5184 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4432, allocations: 1.5 kB / 0.5184 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.4435, allocations: 188.3 kB / 0.5186 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.4436, allocations: 92.94 kB / 0.5187 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4436, allocations: 9.219 kB / 0.5187 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-05/0.4437, allocations: 3.844 kB / 0.5187 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.4437, allocations: 7.516 kB / 0.5187 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.4437, allocations: 2.562 kB / 0.5187 GB, free: 7.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4438, allocations: 143.1 kB / 0.5189 GB, free: 7.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4438, allocations: 1.375 kB / 0.5189 GB, free: 7.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.4441, allocations: 31.5 kB / 0.5189 GB, free: 7.008 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.002079/0.4462, allocations: 1.027 MB / 0.5199 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.4465, allocations: 84.02 kB / 0.52 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4465, allocations: 0 / 0.52 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.4466, allocations: 35.92 kB / 0.52 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.4469, allocations: 35.95 kB / 0.52 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4488, allocations: 1.747 MB / 0.5217 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.449, allocations: 0.7123 MB / 0.5224 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.449, allocations: 25.41 kB / 0.5225 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.4491, allocations: 43.41 kB / 0.5225 GB, free: 3.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4491, allocations: 0 / 0.5225 GB, free: 3.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.4738, allocations: 3.82 MB / 0.5262 GB, free: 15.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.794, allocations: 2.469 kB / 0.5262 GB, free: 15.45 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.380338414979633]