Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001358/0.001358, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001666/0.001666, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.464/1.464, allocations: 230.4 MB / 254 MB, free: 15 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.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 373 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 53.37 MB / 426.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.2149/0.3265, allocations: 5.283 MB / 431.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.3295, allocations: 1.747 MB / 433.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.3301, allocations: 17.06 kB / 433.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.333, allocations: 1.415 MB / 434.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008911/0.3339, allocations: 325.9 kB / 435.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.335, allocations: 0.6505 MB / 435.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00091/0.336, allocations: 0.8097 MB / 436.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/0.3369, allocations: 0.5855 MB / 437.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.3374, allocations: 362.3 kB / 437.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.3379, allocations: 466 kB / 438 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.338, allocations: 77.97 kB / 438.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.3386, allocations: 265.9 kB / 438.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3387, allocations: 174.7 kB / 438.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.3391, allocations: 424.8 kB / 438.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3406, allocations: 1.2 MB / 440.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3406, allocations: 1.188 kB / 440.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3406, allocations: 0 / 440.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.3406, allocations: 3.938 kB / 440.1 MB, free: 5.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003977/0.3446, allocations: 1.473 MB / 441.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.3447, allocations: 8.719 kB / 441.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.3448, allocations: 156.6 kB / 441.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.3465, allocations: 242.8 kB / 442 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3467, allocations: 264.7 kB / 442.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.3467, allocations: 73.59 kB / 442.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3469, allocations: 98.06 kB / 442.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.3485, allocations: 0.9483 MB / 443.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.3486, allocations: 8.422 kB / 443.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.3486, allocations: 39.69 kB / 443.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3487, allocations: 24.44 kB / 443.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.35, allocations: 0.7864 MB / 444.2 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/0.3549, allocations: 3.62 MB / 447.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3567, allocations: 1.185 MB / 449 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3572, allocations: 321.1 kB / 449.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.3574, allocations: 193.2 kB / 449.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3575, allocations: 48.84 kB / 449.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.3575, allocations: 0 / 449.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.00245/0.3599, allocations: 1.309 MB / 450.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.36, allocations: 89.42 kB / 451 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.3605, allocations: 368.1 kB / 451.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.3605, allocations: 40.77 kB / 451.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.3608, allocations: 395.3 kB / 451.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.3611, allocations: 316.3 kB / 452.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.3614, allocations: 174 kB / 452.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3616, allocations: 366.2 kB / 452.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.362, allocations: 267 kB / 452.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.3627, allocations: 473.5 kB / 453.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3639, allocations: 0.7729 MB / 454.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3639, allocations: 5.984 kB / 454.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001802/0.3657, allocations: 0.981 MB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3658, allocations: 8.688 kB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3658, allocations: 6.125 kB / 455.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.3662, allocations: 126.6 kB / 455.2 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.367, allocations: 209.6 kB / 455.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.3724, allocations: 6.121 MB / 461.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.3732, allocations: 100.7 kB / 461.6 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.3733, allocations: 40.83 kB / 461.7 MB, free: 5.801 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004237/0.3737, allocations: 229.4 kB / 461.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.3738, allocations: 61.67 kB / 462 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.3755, allocations: 0.8416 MB / 462.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3755, allocations: 8.594 kB / 462.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3755, allocations: 10.12 kB / 462.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3755, allocations: 7.625 kB / 462.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.379, allocations: 2.102 MB / 464.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.379, allocations: 2.938 kB / 464.9 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/0.3796, allocations: 137.5 kB / 465.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/0.3799, allocations: 113.3 kB / 465.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.38, allocations: 21.78 kB / 465.2 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004693/0.3847, allocations: 5.705 MB / 470.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.3847, allocations: 7.297 kB / 470.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3869, allocations: 1.283 MB / 472.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.3871, allocations: 143.1 kB / 472.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3872, allocations: 22.56 kB / 472.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.3876, allocations: 19.5 kB / 472.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.3878, allocations: 70.94 kB / 472.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.3878, allocations: 22.81 kB / 472.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003674/0.3882, allocations: 257.9 kB / 472.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3882, allocations: 0 / 472.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001257/0.3894, allocations: 263.8 kB / 473 MB, free: 12.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.002866/0.3923, allocations: 1.892 MB / 474.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.3945, allocations: 1.139 MB / 476 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3945, allocations: 0 / 476 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3956, allocations: 0.7643 MB / 476.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.3962, allocations: 57.42 kB / 476.8 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.4054, allocations: 5.677 MB / 482.5 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.406, allocations: 0.9122 MB / 483.4 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004099/0.4064, allocations: 107.8 kB / 483.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.4068, allocations: 255.2 kB / 483.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4068, allocations: 0 / 483.8 MB, free: 4.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05141/0.4582, allocations: 13.07 MB / 496.9 MB, free: 7.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.39, allocations: 19.8 kB / 496.9 MB, free: 7.863 MB / 398.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_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_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterCylinder1.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv. Warning: Get data of variable quarterCylinder1.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.850012095994316]