Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.001781/0.001781, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.00219/0.00219, allocations: 215.6 kB / 23.01 MB, free: 5.004 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.667/1.667, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.247/0.247, allocations: 44.23 MB / 330.3 MB, free: 9.516 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.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.002292/0.002292, allocations: 71.84 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.14, allocations: 61.05 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005116/0.1451, allocations: 3.02 MB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.147, allocations: 0.7682 MB / 0.5198 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1473, allocations: 8 kB / 0.5198 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1475, allocations: 59.38 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1478, allocations: 103 kB / 0.52 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1482, allocations: 107.8 kB / 0.5201 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006143/0.1488, allocations: 486.4 kB / 0.5206 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1491, allocations: 116.5 kB / 0.5207 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.1494, allocations: 179.4 kB / 0.5208 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1497, allocations: 215 kB / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.1498, allocations: 40 kB / 0.5211 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.1498, allocations: 36 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.1499, allocations: 91.72 kB / 0.5212 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1501, allocations: 203 kB / 0.5214 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.1508, allocations: 466 kB / 0.5218 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1508, allocations: 3.938 kB / 0.5219 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1508, allocations: 4 kB / 0.5219 GB, free: 1.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1508, allocations: 4 kB / 0.5219 GB, free: 1.434 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001541/0.1524, allocations: 0.634 MB / 0.5225 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.1524, allocations: 12.03 kB / 0.5225 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.086e-05/0.1525, allocations: 78.7 kB / 0.5226 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.1526, allocations: 44.66 kB / 0.5226 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.1531, allocations: 233.6 kB / 0.5228 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.1531, allocations: 29.38 kB / 0.5229 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.1532, allocations: 36.38 kB / 0.5229 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.1539, allocations: 350.6 kB / 0.5232 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1539, allocations: 3.938 kB / 0.5232 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.1539, allocations: 16 kB / 0.5232 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1539, allocations: 8 kB / 0.5233 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.1546, allocations: 303.8 kB / 0.5235 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.1571, allocations: 1.291 MB / 0.5248 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.1576, allocations: 260.8 kB / 0.5251 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.158, allocations: 141.4 kB / 0.5252 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1581, allocations: 4.281 kB / 0.5252 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1581, allocations: 30.84 kB / 0.5252 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.1581, allocations: 0 / 0.5252 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009518/0.1591, allocations: 386.6 kB / 0.5256 GB, free: 13.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.1591, allocations: 59.41 kB / 0.5256 GB, free: 13.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1594, allocations: 265.9 kB / 0.5259 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1594, allocations: 29.7 kB / 0.5259 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1596, allocations: 208.4 kB / 0.5261 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1597, allocations: 122.9 kB / 0.5262 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1599, allocations: 70.12 kB / 0.5263 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.16, allocations: 338.8 kB / 0.5266 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1603, allocations: 100.8 kB / 0.5267 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1607, allocations: 175.5 kB / 0.5269 GB, free: 12.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.1614, allocations: 288.6 kB / 0.5272 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1614, allocations: 3.938 kB / 0.5272 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008988/0.1623, allocations: 370.4 kB / 0.5275 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.1624, allocations: 8 kB / 0.5275 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1624, allocations: 0 / 0.5275 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.1624, allocations: 7.984 kB / 0.5275 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.1629, allocations: 99.88 kB / 0.5276 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1629, allocations: 4 kB / 0.5276 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.1633, allocations: 47.88 kB / 0.5277 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1633, allocations: 12 kB / 0.5277 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * 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.0002807/0.1636, allocations: 165.6 kB / 0.5279 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/0.1637, allocations: 31.81 kB / 0.5279 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.1645, allocations: 328.2 kB / 0.5282 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.1645, allocations: 4 kB / 0.5282 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1646, allocations: 0 / 0.5282 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1646, allocations: 4 kB / 0.5282 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.1653, allocations: 372.3 kB / 0.5286 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1653, allocations: 4 kB / 0.5286 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.1657, allocations: 83.88 kB / 0.5287 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.1657, allocations: 3.984 kB / 0.5287 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1657, allocations: 8 kB / 0.5287 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1657, allocations: 0 / 0.5287 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1657, allocations: 0 / 0.5287 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1668, allocations: 0.5184 MB / 0.5292 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.167, allocations: 51.72 kB / 0.5292 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1671, allocations: 8 kB / 0.5292 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1673, allocations: 15.92 kB / 0.5292 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.1674, allocations: 23.95 kB / 0.5293 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.1674, allocations: 8 kB / 0.5293 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.1676, allocations: 193.3 kB / 0.5295 GB, free: 9.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1676, allocations: 0 / 0.5295 GB, free: 9.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.168, allocations: 95.83 kB / 0.5295 GB, free: 9.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.001391/0.1694, allocations: 1.06 MB / 0.5306 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007474/0.1702, allocations: 263.5 kB / 0.5308 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.1702, allocations: 4 kB / 0.5308 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1705, allocations: 123.9 kB / 0.531 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.171, allocations: 32.86 kB / 0.531 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/0.1766, allocations: 3.152 MB / 0.5341 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.1771, allocations: 0.7876 MB / 0.5348 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.1773, allocations: 42.92 kB / 0.5349 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.1775, allocations: 107.4 kB / 0.535 GB, free: 3.457 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1775, allocations: 0 / 0.535 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2922/0.4697, allocations: 6.071 MB / 0.5409 GB, free: 28.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.31, allocations: 10.27 kB / 0.5409 GB, free: 28.69 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderAxialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidParallelFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidParallelFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable cuboidOrthogonalFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable cuboidOrthogonalFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable hollowCylinderRadialFlux.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable hollowCylinderRadialFlux.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! Error: Could not read variable leakageAroundPoles.F_m in file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv. Warning: Get data of variable leakageAroundPoles.F_m from file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.597406888999103]