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.001462/0.001462, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001624/0.001624, allocations: 215.5 kB / 23.78 MB, free: 4.551 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.606/1.606, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2372/0.2372, allocations: 44.27 MB / 331.1 MB, free: 9.324 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.002239/0.002239, allocations: 71.91 kB / 468.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 61.04 MB / 0.5169 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004312/0.146, allocations: 2.447 MB / 0.5193 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1473, allocations: 0.7565 MB / 0.52 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1474, allocations: 4 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1477, allocations: 63.38 kB / 0.5201 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1479, allocations: 107.1 kB / 0.5202 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1482, allocations: 115.8 kB / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.1488, allocations: 414.4 kB / 0.5207 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.149, allocations: 107.8 kB / 0.5208 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.1493, allocations: 159.5 kB / 0.521 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1495, allocations: 171.2 kB / 0.5211 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.1495, allocations: 32 kB / 0.5211 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.1496, allocations: 35.94 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.1497, allocations: 75.7 kB / 0.5213 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1498, allocations: 155.2 kB / 0.5214 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.1503, allocations: 422.2 kB / 0.5218 GB, free: 2.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1503, allocations: 4 kB / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1503, allocations: 0 / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1503, allocations: 0 / 0.5218 GB, free: 2.148 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.001143/0.1515, allocations: 0.595 MB / 0.5224 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1515, allocations: 12.03 kB / 0.5224 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.075e-05/0.1515, allocations: 9.188 kB / 0.5224 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.385e-05/0.1516, allocations: 70.72 kB / 0.5225 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.1517, allocations: 44.66 kB / 0.5225 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1521, allocations: 218.8 kB / 0.5227 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.1521, allocations: 29.38 kB / 0.5228 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.1522, allocations: 28.38 kB / 0.5228 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.153, allocations: 365.8 kB / 0.5231 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.153, allocations: 4 kB / 0.5231 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.153, allocations: 12 kB / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.153, allocations: 8 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.1537, allocations: 267.8 kB / 0.5234 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1558, allocations: 1.234 MB / 0.5246 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.1563, allocations: 190.6 kB / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.1565, allocations: 79.52 kB / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1565, allocations: 0 / 0.5249 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1566, allocations: 42.5 kB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.1566, allocations: 0 / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008591/0.1574, allocations: 249.2 kB / 0.5252 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.1575, allocations: 132.5 kB / 0.5253 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1579, allocations: 328.5 kB / 0.5256 GB, free: 14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1579, allocations: 33.83 kB / 0.5256 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1581, allocations: 236.2 kB / 0.5258 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.1582, allocations: 63.45 kB / 0.5259 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.1583, allocations: 53.94 kB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1584, allocations: 346.8 kB / 0.5263 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1587, allocations: 76.5 kB / 0.5264 GB, free: 13.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.159, allocations: 176.1 kB / 0.5265 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.1595, allocations: 246.9 kB / 0.5268 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1595, allocations: 4 kB / 0.5268 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006821/0.1602, allocations: 301.1 kB / 0.5271 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.1602, allocations: 11.98 kB / 0.5271 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1602, allocations: 4.25 kB / 0.5271 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1603, allocations: 8 kB / 0.5271 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.1607, allocations: 87.88 kB / 0.5272 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.1607, allocations: 7.984 kB / 0.5272 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.161, allocations: 44.28 kB / 0.5272 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.161, allocations: 16 kB / 0.5272 GB, free: 12.2 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.0001841/0.1612, allocations: 153.7 kB / 0.5274 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1613, allocations: 31.75 kB / 0.5274 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.1614, allocations: 38.77 kB / 0.5274 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1614, allocations: 4 kB / 0.5274 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1614, allocations: 3.984 kB / 0.5275 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1614, allocations: 8 kB / 0.5275 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008517/0.1622, allocations: 0.5321 MB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1622, allocations: 4 kB / 0.528 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.1625, allocations: 56.09 kB / 0.528 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1625, allocations: 7.938 kB / 0.528 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1625, allocations: 8 kB / 0.5281 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1625, allocations: 0 / 0.5281 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.1625, allocations: 7.938 kB / 0.5281 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1632, allocations: 390.8 kB / 0.5284 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.1632, allocations: 39.73 kB / 0.5285 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.1633, allocations: 7.938 kB / 0.5285 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.1635, allocations: 15.98 kB / 0.5285 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.1636, allocations: 19.91 kB / 0.5285 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.1636, allocations: 8 kB / 0.5285 GB, free: 10.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1638, allocations: 231 kB / 0.5287 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1638, allocations: 0 / 0.5287 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.1643, allocations: 67.89 kB / 0.5288 GB, free: 10.48 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.0009216/0.1652, allocations: 0.9304 MB / 0.5297 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005155/0.1657, allocations: 180.1 kB / 0.5299 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1657, allocations: 8.062 kB / 0.5299 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.1659, allocations: 75.83 kB / 0.53 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1663, allocations: 33.16 kB / 0.53 GB, free: 9.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.1706, allocations: 2.965 MB / 0.5329 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.1707, allocations: 168.8 kB / 0.5331 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1708, allocations: 30.11 kB / 0.5331 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.171, allocations: 99.41 kB / 0.5332 GB, free: 5.758 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.171, allocations: 0 / 0.5332 GB, free: 5.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.1975, allocations: 5.182 MB / 0.5382 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.15, allocations: 4.062 kB / 0.5382 GB, free: 0.5703 MB / 414.1 MB " [Timeout remaining time 647] (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.665161652956158]