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.001948/0.001948, 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.001983/0.001983, allocations: 210.8 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.911/1.911, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2878/0.2878, allocations: 44.26 MB / 330.3 MB, free: 9.316 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.002358/0.002358, allocations: 67.91 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1401, allocations: 61.04 MB / 0.5161 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004723/0.1448, allocations: 2.77 MB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1463, allocations: 0.741 MB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1464, allocations: 4 kB / 0.5196 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1466, allocations: 63.38 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1468, allocations: 99.05 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1471, allocations: 115.8 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1477, allocations: 486.4 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.1479, allocations: 100.5 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1482, allocations: 195.3 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1485, allocations: 175.1 kB / 0.5207 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.1485, allocations: 40 kB / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.1486, allocations: 40 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.1487, allocations: 87.67 kB / 0.5209 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.1489, allocations: 179.2 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.1494, allocations: 474 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1494, allocations: 0 / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1494, allocations: 4 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1495, allocations: 3.938 kB / 0.5215 GB, free: 1.621 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.00144/0.1509, allocations: 0.634 MB / 0.5222 GB, free: 0.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1509, allocations: 8.031 kB / 0.5222 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.279e-05/0.151, allocations: 78.7 kB / 0.5222 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.1511, allocations: 52.59 kB / 0.5223 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.1515, allocations: 233.6 kB / 0.5225 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.1516, allocations: 29.38 kB / 0.5225 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.408e-05/0.1517, allocations: 36.38 kB / 0.5226 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.1523, allocations: 346.5 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.1523, allocations: 0 / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.1524, allocations: 16 kB / 0.5229 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1524, allocations: 12 kB / 0.5229 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.1531, allocations: 299.8 kB / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.1554, allocations: 1.201 MB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.156, allocations: 257.4 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.1563, allocations: 141.3 kB / 0.5248 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.1563, allocations: 4.281 kB / 0.5248 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.1563, allocations: 38.84 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.1563, allocations: 0 / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009259/0.1573, allocations: 386.6 kB / 0.5252 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1573, allocations: 55.41 kB / 0.5252 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1577, allocations: 265.9 kB / 0.5255 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1577, allocations: 29.7 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.1579, allocations: 216.3 kB / 0.5257 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.158, allocations: 115 kB / 0.5258 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1581, allocations: 74.08 kB / 0.5259 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1583, allocations: 338.8 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1586, allocations: 108.8 kB / 0.5263 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1589, allocations: 171.5 kB / 0.5265 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.1594, allocations: 292.6 kB / 0.5268 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1594, allocations: 3.938 kB / 0.5268 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007012/0.1601, allocations: 362.4 kB / 0.5271 GB, free: 11.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1602, allocations: 7.984 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1602, allocations: 4 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.1602, allocations: 4 kB / 0.5271 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.1607, allocations: 104.1 kB / 0.5272 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.1607, allocations: 4 kB / 0.5272 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.161, allocations: 51.66 kB / 0.5273 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.161, allocations: 8 kB / 0.5273 GB, free: 11.44 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.0001769/0.1612, allocations: 161.6 kB / 0.5275 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.1612, allocations: 27.81 kB / 0.5275 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.1619, allocations: 324.2 kB / 0.5278 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.162, allocations: 8 kB / 0.5278 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.162, allocations: 0 / 0.5278 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.162, allocations: 0 / 0.5278 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.1624, allocations: 340.3 kB / 0.5281 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1624, allocations: 3.938 kB / 0.5281 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.1628, allocations: 87.88 kB / 0.5282 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1628, allocations: 0 / 0.5282 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1629, allocations: 8 kB / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1629, allocations: 0 / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1629, allocations: 3.984 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009304/0.1638, allocations: 0.5184 MB / 0.5287 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1639, allocations: 59.67 kB / 0.5288 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.164, allocations: 4 kB / 0.5288 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1642, allocations: 11.98 kB / 0.5288 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1643, allocations: 19.97 kB / 0.5288 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1643, allocations: 15.98 kB / 0.5288 GB, free: 9.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1645, allocations: 185.2 kB / 0.529 GB, free: 9.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1645, allocations: 64 / 0.529 GB, free: 9.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.1649, allocations: 95.84 kB / 0.5291 GB, free: 9.516 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.001206/0.1661, allocations: 1.06 MB / 0.5301 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006043/0.1667, allocations: 267.9 kB / 0.5304 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1667, allocations: 4.125 kB / 0.5304 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.1669, allocations: 119.8 kB / 0.5305 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1673, allocations: 40.41 kB / 0.5305 GB, free: 8.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.1722, allocations: 3.148 MB / 0.5336 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1724, allocations: 177.5 kB / 0.5338 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.1726, allocations: 34.95 kB / 0.5338 GB, free: 4.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1728, allocations: 111.4 kB / 0.5339 GB, free: 4.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1728, allocations: 0 / 0.5339 GB, free: 4.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/0.4359, allocations: 6.393 MB / 0.5402 GB, free: 28.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.87, allocations: 5.719 kB / 0.5402 GB, free: 28.55 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.474868053104728]