Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001816/0.001816, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 53.36 MB / 426.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005941/0.1081, allocations: 4.218 MB / 430.6 MB, free: 408 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1115, allocations: 1.744 MB / 432.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1117, allocations: 8 kB / 432.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.1141, allocations: 1.013 MB / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.1148, allocations: 246.2 kB / 433.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.1164, allocations: 0.7657 MB / 434.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.117, allocations: 0.6105 MB / 435 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.1176, allocations: 387.4 kB / 435.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.118, allocations: 271 kB / 435.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.1184, allocations: 330.7 kB / 435.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.61e-05/0.1185, allocations: 52 kB / 436 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/0.119, allocations: 291.7 kB / 436.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1191, allocations: 139.5 kB / 436.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.1194, allocations: 306.5 kB / 436.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1205, allocations: 0.9379 MB / 437.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1205, allocations: 0 / 437.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1205, allocations: 4 kB / 437.6 MB, free: 9.305 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.1205, allocations: 4 kB / 437.6 MB, free: 9.301 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003738/0.1243, allocations: 1.236 MB / 438.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1243, allocations: 8.031 kB / 438.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.1245, allocations: 114.7 kB / 439 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.1257, allocations: 180.4 kB / 439.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.126, allocations: 244.3 kB / 439.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.126, allocations: 50.38 kB / 439.5 MB, free: 7.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.1261, allocations: 68.33 kB / 439.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1275, allocations: 0.7114 MB / 440.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1275, allocations: 0 / 440.2 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.1276, allocations: 27.98 kB / 440.3 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1276, allocations: 16 kB / 440.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1289, allocations: 0.6023 MB / 440.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003585/0.1325, allocations: 2.317 MB / 443.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.1343, allocations: 1.567 MB / 444.8 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.1349, allocations: 254.3 kB / 445 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.1351, allocations: 182.7 kB / 445.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.1351, allocations: 51.16 kB / 445.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.124e-06/0.1351, allocations: 0 / 445.2 MB, free: 1.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.001644/0.1368, allocations: 0.7056 MB / 445.9 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.1368, allocations: 111.4 kB / 446.1 MB, free: 332 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.1372, allocations: 268.9 kB / 446.3 MB, free: 52 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.1372, allocations: 33.7 kB / 446.3 MB, free: 12 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2029/0.3401, allocations: 264.1 kB / 446.6 MB, free: 24.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.3403, allocations: 233.4 kB / 446.8 MB, free: 24.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.3405, allocations: 117.6 kB / 446.9 MB, free: 24.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.3406, allocations: 351.8 kB / 447.3 MB, free: 23.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.3411, allocations: 211.1 kB / 447.5 MB, free: 23.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.3416, allocations: 303 kB / 447.8 MB, free: 23.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/0.3426, allocations: 0.512 MB / 448.3 MB, free: 23.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3426, allocations: 0.875 kB / 448.3 MB, free: 23.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00118/0.3437, allocations: 0.6342 MB / 448.9 MB, free: 23.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3438, allocations: 6.312 kB / 448.9 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3438, allocations: 2.719 kB / 448.9 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3438, allocations: 4.469 kB / 449 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.3445, allocations: 166.2 kB / 449.1 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3445, allocations: 4.469 kB / 449.1 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.345, allocations: 71.03 kB / 449.2 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.3451, allocations: 28.67 kB / 449.2 MB, free: 23.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (84): * Single equations (assignments): 84 * 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.0002169/0.3453, allocations: 192 kB / 449.4 MB, free: 23.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3454, allocations: 37.89 kB / 449.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3466, allocations: 0.6026 MB / 450 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.3467, allocations: 10.69 kB / 450.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3467, allocations: 1.156 kB / 450.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3467, allocations: 4.797 kB / 450.1 MB, free: 23.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/0.3486, allocations: 1.296 MB / 451.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3486, allocations: 3.031 kB / 451.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/0.3492, allocations: 129.3 kB / 451.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3492, allocations: 3.438 kB / 451.5 MB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3493, allocations: 14.28 kB / 451.5 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3493, allocations: 6.328 kB / 451.5 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3493, allocations: 0 / 451.5 MB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3508, allocations: 0.9785 MB / 452.5 MB, free: 21.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.3509, allocations: 123.4 kB / 452.6 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.351, allocations: 16.41 kB / 452.6 MB, free: 21.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.3514, allocations: 26.94 kB / 452.7 MB, free: 21.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3515, allocations: 42.39 kB / 452.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.3515, allocations: 19.02 kB / 452.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3517, allocations: 191.6 kB / 452.9 MB, free: 21.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3517, allocations: 7.375 kB / 452.9 MB, free: 21.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.3523, allocations: 189.8 kB / 453.1 MB, free: 21.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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.001867/0.3542, allocations: 1.566 MB / 454.7 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3553, allocations: 0.5085 MB / 455.2 MB, free: 20.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3553, allocations: 0 / 455.2 MB, free: 20.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.3558, allocations: 245.8 kB / 455.4 MB, free: 20.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.3564, allocations: 44.72 kB / 455.4 MB, free: 20.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.3624, allocations: 4.195 MB / 459.6 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3628, allocations: 0.8458 MB / 460.5 MB, free: 17.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.3631, allocations: 73.75 kB / 460.6 MB, free: 17.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3634, allocations: 191.1 kB / 460.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3634, allocations: 0 / 460.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.4003, allocations: 9.51 MB / 470.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/9.097, allocations: 6.672 kB / 470.3 MB, free: 14.8 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable hollowCylinderAxialOuter.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv. Warning: Get data of variable hollowCylinderAxialOuter.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.670361894066446]