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.001945/0.001945, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002602/0.002602, allocations: 210.5 kB / 22.99 MB, free: 4.602 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.571/1.571, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2601/0.2601, allocations: 44.26 MB / 330.3 MB, free: 9.312 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Sources",fmuType="me",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.002647/0.002647, allocations: 67.91 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1463, allocations: 61.04 MB / 0.5161 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.005833/0.1521, allocations: 2.459 MB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1543, allocations: 0.7487 MB / 0.5193 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.1547, allocations: 7.938 kB / 0.5193 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.1551, allocations: 59.39 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005416/0.1556, allocations: 111.2 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.1561, allocations: 107.8 kB / 0.5195 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1568, allocations: 422.4 kB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.1571, allocations: 99.84 kB / 0.52 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.1574, allocations: 147.5 kB / 0.5202 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.1578, allocations: 155.2 kB / 0.5203 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.1579, allocations: 32 kB / 0.5204 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.158, allocations: 32 kB / 0.5204 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1581, allocations: 87.67 kB / 0.5205 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.1584, allocations: 139.3 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.1591, allocations: 430.1 kB / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1591, allocations: 0 / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1591, allocations: 0 / 0.521 GB, free: 2.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.1591, allocations: 3.938 kB / 0.521 GB, free: 2.168 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.001821/0.1609, allocations: 0.6027 MB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.035e-05/0.161, allocations: 8.031 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.1611, allocations: 70.72 kB / 0.5217 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1613, allocations: 44.66 kB / 0.5217 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.1618, allocations: 214.8 kB / 0.5219 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.1619, allocations: 29.38 kB / 0.522 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.1619, allocations: 40.36 kB / 0.522 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009099/0.1629, allocations: 366 kB / 0.5223 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1629, allocations: 0 / 0.5223 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1629, allocations: 16 kB / 0.5224 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.1629, allocations: 8 kB / 0.5224 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007694/0.1637, allocations: 263.8 kB / 0.5226 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.1665, allocations: 1.222 MB / 0.5238 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.1671, allocations: 190.5 kB / 0.524 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.1673, allocations: 79.56 kB / 0.5241 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1674, allocations: 4 kB / 0.5241 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.1674, allocations: 42.48 kB / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.1674, allocations: 0 / 0.5241 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.000882/0.1683, allocations: 249.8 kB / 0.5244 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.1684, allocations: 136.5 kB / 0.5245 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.1689, allocations: 336.4 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1689, allocations: 29.7 kB / 0.5248 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.1691, allocations: 240.2 kB / 0.5251 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.1692, allocations: 55.53 kB / 0.5251 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1693, allocations: 57.94 kB / 0.5252 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.1696, allocations: 346.7 kB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1699, allocations: 80.53 kB / 0.5256 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.1702, allocations: 160.2 kB / 0.5257 GB, free: 13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.1708, allocations: 258.9 kB / 0.526 GB, free: 12.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1708, allocations: 3.938 kB / 0.526 GB, free: 12.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007372/0.1715, allocations: 309.1 kB / 0.5263 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1716, allocations: 8 kB / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1716, allocations: 4 kB / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1716, allocations: 4 kB / 0.5263 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.172, allocations: 91.86 kB / 0.5264 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.172, allocations: 4 kB / 0.5264 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1723, allocations: 47.91 kB / 0.5264 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1724, allocations: 16 kB / 0.5264 GB, free: 12.23 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.000183/0.1725, allocations: 153.6 kB / 0.5266 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1726, allocations: 31.81 kB / 0.5266 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.944e-05/0.1727, allocations: 30.5 kB / 0.5266 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1727, allocations: 7.938 kB / 0.5267 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1727, allocations: 0 / 0.5267 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1727, allocations: 4 kB / 0.5267 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.1737, allocations: 0.5399 MB / 0.5272 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.1737, allocations: 4 kB / 0.5272 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.174, allocations: 51.89 kB / 0.5272 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.174, allocations: 4 kB / 0.5272 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.174, allocations: 11.92 kB / 0.5273 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.174, allocations: 4 kB / 0.5273 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.174, allocations: 4 kB / 0.5273 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.1747, allocations: 394.9 kB / 0.5276 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1748, allocations: 31.8 kB / 0.5277 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.1748, allocations: 8 kB / 0.5277 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.175, allocations: 19.98 kB / 0.5277 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.1751, allocations: 23.91 kB / 0.5277 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1751, allocations: 4 kB / 0.5277 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.1754, allocations: 231.1 kB / 0.5279 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1754, allocations: 0 / 0.5279 GB, free: 10.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000432/0.1758, allocations: 71.83 kB / 0.528 GB, free: 10.5 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.0009633/0.1768, allocations: 0.9226 MB / 0.5289 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006008/0.1774, allocations: 191.9 kB / 0.5291 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1774, allocations: 0 / 0.5291 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.1776, allocations: 80.64 kB / 0.5292 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1781, allocations: 25.44 kB / 0.5292 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.1825, allocations: 2.973 MB / 0.5321 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1827, allocations: 168.8 kB / 0.5323 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1828, allocations: 17.95 kB / 0.5323 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1829, allocations: 103.4 kB / 0.5324 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1829, allocations: 0 / 0.5324 GB, free: 5.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.2186, allocations: 5.468 MB / 0.5377 GB, free: 320 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.59, allocations: 11.92 kB / 0.5377 GB, free: 308 kB / 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: 14.988045235630125]