Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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.001843/0.001843, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.00239/0.00239, allocations: 215 kB / 23.79 MB, free: 4.703 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.527/1.527, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.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.2218/0.2218, allocations: 44.24 MB / 331.1 MB, free: 9.535 MB / 270.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.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",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.002201/0.002201, allocations: 67.84 kB / 468.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.118, allocations: 61.05 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004088/0.1221, allocations: 2.657 MB / 0.5195 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1235, allocations: 0.7914 MB / 0.5203 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1236, allocations: 4 kB / 0.5203 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.1239, allocations: 67.36 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1241, allocations: 107.2 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1244, allocations: 107.7 kB / 0.5205 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.1249, allocations: 414.5 kB / 0.5209 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.1251, allocations: 103.8 kB / 0.521 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1254, allocations: 163.4 kB / 0.5212 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1256, allocations: 179.2 kB / 0.5214 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.1256, allocations: 32 kB / 0.5214 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.308e-05/0.1257, allocations: 36 kB / 0.5214 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.1257, allocations: 67.77 kB / 0.5215 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1259, allocations: 187 kB / 0.5217 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.1264, allocations: 418.2 kB / 0.5221 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1264, allocations: 0 / 0.5221 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1264, allocations: 4 kB / 0.5221 GB, free: 2.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1264, allocations: 0 / 0.5221 GB, free: 2.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00103/0.1274, allocations: 0.595 MB / 0.5227 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.1275, allocations: 8.031 kB / 0.5227 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.183e-05/0.1275, allocations: 17.19 kB / 0.5227 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.1276, allocations: 70.72 kB / 0.5227 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.1276, allocations: 44.66 kB / 0.5228 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.128, allocations: 230.7 kB / 0.523 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.128, allocations: 25.38 kB / 0.523 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.1281, allocations: 28.38 kB / 0.5231 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.1287, allocations: 365.8 kB / 0.5234 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1287, allocations: 4 kB / 0.5234 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.1288, allocations: 12 kB / 0.5234 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1288, allocations: 8 kB / 0.5234 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.1294, allocations: 267.8 kB / 0.5237 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1316, allocations: 1.292 MB / 0.5249 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.1321, allocations: 194.5 kB / 0.5251 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1323, allocations: 75.52 kB / 0.5252 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.1324, allocations: 7.984 kB / 0.5252 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1324, allocations: 38.56 kB / 0.5252 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.1324, allocations: 0 / 0.5252 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007828/0.1332, allocations: 253.3 kB / 0.5255 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.1333, allocations: 136.5 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.1336, allocations: 320.5 kB / 0.5259 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1337, allocations: 29.64 kB / 0.526 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1338, allocations: 240.2 kB / 0.5262 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1339, allocations: 63.45 kB / 0.5262 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-05/0.134, allocations: 61.97 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1342, allocations: 350.7 kB / 0.5266 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.1344, allocations: 76.52 kB / 0.5267 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1347, allocations: 164.2 kB / 0.5269 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.1352, allocations: 255.4 kB / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1352, allocations: 0 / 0.5271 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007045/0.1359, allocations: 309.1 kB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1359, allocations: 8.25 kB / 0.5274 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1359, allocations: 4 kB / 0.5274 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.136, allocations: 8 kB / 0.5274 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.1364, allocations: 87.86 kB / 0.5275 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1364, allocations: 7.938 kB / 0.5275 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.1367, allocations: 47.72 kB / 0.5276 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1367, allocations: 15.94 kB / 0.5276 GB, free: 11.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001568/0.1368, allocations: 149.7 kB / 0.5277 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.137, allocations: 35.8 kB / 0.5278 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.137, allocations: 30.5 kB / 0.5278 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.137, allocations: 4 kB / 0.5278 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.137, allocations: 0 / 0.5278 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.137, allocations: 0 / 0.5278 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/0.1379, allocations: 0.5672 MB / 0.5283 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1379, allocations: 0 / 0.5283 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.1382, allocations: 59.88 kB / 0.5284 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1382, allocations: 3.938 kB / 0.5284 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1382, allocations: 8 kB / 0.5284 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1382, allocations: 4 kB / 0.5284 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1382, allocations: 4.156 kB / 0.5284 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1389, allocations: 398.7 kB / 0.5288 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1389, allocations: 35.69 kB / 0.5288 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.1389, allocations: 4 kB / 0.5288 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.1392, allocations: 19.97 kB / 0.5289 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.1393, allocations: 16.2 kB / 0.5289 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1393, allocations: 12 kB / 0.5289 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.1396, allocations: 227 kB / 0.5291 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1396, allocations: 0 / 0.5291 GB, free: 10.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004211/0.14, allocations: 67.89 kB / 0.5292 GB, free: 10.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0009973/0.141, allocations: 0.9264 MB / 0.5301 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.1416, allocations: 195.7 kB / 0.5303 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1416, allocations: 0 / 0.5303 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1418, allocations: 84.77 kB / 0.5303 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.1423, allocations: 29.42 kB / 0.5304 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.147, allocations: 2.973 MB / 0.5333 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.1474, allocations: 0.7675 MB / 0.534 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1475, allocations: 21.94 kB / 0.534 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1477, allocations: 99.41 kB / 0.5341 GB, free: 4.91 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1477, allocations: 4 kB / 0.5341 GB, free: 4.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2792/0.4269, allocations: 5.191 MB / 0.5392 GB, free: 29.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.09, allocations: 10.19 kB / 0.5392 GB, free: 29.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.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: 15.211865973018575]