Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.001876/0.001876, 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.002485/0.002485, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.461/1.461, allocations: 207.7 MB / 233.8 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.3722/0.3722, allocations: 44.25 MB / 330.3 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.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",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.002307/0.002307, allocations: 71.89 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1416, allocations: 61.04 MB / 0.5161 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005595/0.1472, allocations: 3.148 MB / 0.5192 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1493, allocations: 0.811 MB / 0.52 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002445/0.1495, allocations: 12 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1498, allocations: 75.23 kB / 0.5201 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1501, allocations: 130.8 kB / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1506, allocations: 131.8 kB / 0.5203 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.1512, allocations: 0.5141 MB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1515, allocations: 174.3 kB / 0.521 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.1519, allocations: 219.3 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1521, allocations: 195 kB / 0.5214 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.1522, allocations: 51.94 kB / 0.5214 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.893e-05/0.1523, allocations: 48 kB / 0.5215 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1524, allocations: 111.7 kB / 0.5216 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.1527, allocations: 211 kB / 0.5218 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.1534, allocations: 0.568 MB / 0.5224 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1534, allocations: 0 / 0.5224 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1534, allocations: 0 / 0.5224 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1534, allocations: 0 / 0.5224 GB, free: 0.8008 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001436/0.1549, allocations: 0.6962 MB / 0.523 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1549, allocations: 8.031 kB / 0.523 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.155, allocations: 86.78 kB / 0.5231 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.1551, allocations: 48.66 kB / 0.5232 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006122/0.1557, allocations: 259.7 kB / 0.5234 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.1558, allocations: 37.38 kB / 0.5235 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.1559, allocations: 48.38 kB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.1568, allocations: 0.5104 MB / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1568, allocations: 0 / 0.524 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.1569, allocations: 24 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1569, allocations: 8 kB / 0.524 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.1577, allocations: 316.2 kB / 0.5243 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.1605, allocations: 1.526 MB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.1611, allocations: 228.9 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/0.1615, allocations: 125.7 kB / 0.5262 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1615, allocations: 4 kB / 0.5262 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.1615, allocations: 34.56 kB / 0.5262 GB, free: 12.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.1615, allocations: 4 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003208/0.1648, allocations: 1.124 MB / 0.5273 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.1648, allocations: 81.11 kB / 0.5274 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1652, allocations: 269.8 kB / 0.5276 GB, free: 11.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1652, allocations: 33.7 kB / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.1655, allocations: 264.1 kB / 0.5279 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1656, allocations: 131 kB / 0.528 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1657, allocations: 74.09 kB / 0.5281 GB, free: 10.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.1659, allocations: 346.7 kB / 0.5284 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.1662, allocations: 112.8 kB / 0.5285 GB, free: 10.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.1666, allocations: 216.3 kB / 0.5288 GB, free: 9.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/0.1673, allocations: 339.1 kB / 0.5291 GB, free: 9.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1673, allocations: 0 / 0.5291 GB, free: 9.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009112/0.1683, allocations: 425.8 kB / 0.5295 GB, free: 9.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1683, allocations: 7.938 kB / 0.5295 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1683, allocations: 4 kB / 0.5295 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1685, allocations: 37.14 kB / 0.5295 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.169, allocations: 127.8 kB / 0.5297 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.1704, allocations: 1.327 MB / 0.5309 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.1707, allocations: 12 kB / 0.531 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.1707, allocations: 16 kB / 0.531 GB, free: 7.395 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003035/0.171, allocations: 177.6 kB / 0.5311 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1711, allocations: 31.81 kB / 0.5312 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.253e-05/0.1712, allocations: 42.11 kB / 0.5312 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1712, allocations: 4 kB / 0.5312 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1712, allocations: 0 / 0.5312 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1712, allocations: 0 / 0.5312 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.1725, allocations: 0.6482 MB / 0.5319 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1725, allocations: 0 / 0.5319 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.1729, allocations: 91.88 kB / 0.5319 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.421e-05/0.173, allocations: 32.72 kB / 0.532 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.173, allocations: 12 kB / 0.532 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.1743, allocations: 1.323 MB / 0.5333 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1743, allocations: 0 / 0.5333 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1754, allocations: 0.5971 MB / 0.5339 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1755, allocations: 47.83 kB / 0.5339 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1756, allocations: 8 kB / 0.5339 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.1758, allocations: 27.98 kB / 0.5339 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.1759, allocations: 23.95 kB / 0.534 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1759, allocations: 15.92 kB / 0.534 GB, free: 4.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.1762, allocations: 181.2 kB / 0.5341 GB, free: 3.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1762, allocations: 0 / 0.5341 GB, free: 3.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005865/0.1768, allocations: 92 kB / 0.5342 GB, free: 3.844 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/0.1785, allocations: 1.143 MB / 0.5354 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1796, allocations: 395.5 kB / 0.5357 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1796, allocations: 0 / 0.5357 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.18, allocations: 246.5 kB / 0.536 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.1805, allocations: 46.95 kB / 0.536 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2937/0.4741, allocations: 3.482 MB / 0.5394 GB, free: 26.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.4745, allocations: 212.7 kB / 0.5396 GB, free: 26.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.4747, allocations: 32.83 kB / 0.5396 GB, free: 26.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.4749, allocations: 142.1 kB / 0.5398 GB, free: 26.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.794e-06/0.4749, allocations: 0 / 0.5398 GB, free: 26.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.5207, allocations: 7.116 MB / 0.5467 GB, free: 25.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.64, allocations: 9.781 kB / 0.5467 GB, free: 25.36 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.986926771234721]