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.001282/0.001282, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001009/0.001009, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9115/0.9115, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.844e-06/1.844e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.042e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004428/0.004448, allocations: 4.707 MB / 329.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.00703, allocations: 1.654 MB / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.007347, allocations: 16 kB / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.008962, allocations: 1.392 MB / 332.3 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.009582, allocations: 333.4 kB / 332.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.01047, allocations: 0.6139 MB / 333.2 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.01131, allocations: 0.8397 MB / 334.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.01244, allocations: 0.6636 MB / 334.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.01295, allocations: 0.5183 MB / 335.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.01329, allocations: 347 kB / 335.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.01336, allocations: 76 kB / 335.7 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.01382, allocations: 247.7 kB / 335.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.01391, allocations: 187.2 kB / 336.1 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.01409, allocations: 287.2 kB / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.01514, allocations: 1.23 MB / 337.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01514, allocations: 0 / 337.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01514, allocations: 0 / 337.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.01517, allocations: 0 / 337.6 MB, free: 2.742 MB / 298.7 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.002421/0.01759, allocations: 1.39 MB / 339 MB, free: 1.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.01764, allocations: 11.98 kB / 339 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.01776, allocations: 156.3 kB / 339.2 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008204/0.01858, allocations: 236.2 kB / 339.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.01877, allocations: 208.6 kB / 339.6 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.01882, allocations: 74.38 kB / 339.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.01891, allocations: 96.38 kB / 339.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.0199, allocations: 0.9427 MB / 340.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.01993, allocations: 12.14 kB / 340.7 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.01998, allocations: 44.12 kB / 340.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.02, allocations: 27.98 kB / 340.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.02116, allocations: 0.7737 MB / 341.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.02449, allocations: 2.833 MB / 344.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.02558, allocations: 0.874 MB / 345.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.02591, allocations: 333.5 kB / 345.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.02599, allocations: 32.97 kB / 345.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.02601, allocations: 43.56 kB / 345.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=87): time 2.144e-06/0.02601, allocations: 3.938 kB / 345.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=87): time 0.001284/0.0273, allocations: 1.007 MB / 346.7 MB, free: 9.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.02734, allocations: 90.09 kB / 346.8 MB, free: 9.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.02762, allocations: 384.2 kB / 347.1 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.02765, allocations: 37.7 kB / 347.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.0278, allocations: 388.2 kB / 347.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.02795, allocations: 313.3 kB / 347.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.02812, allocations: 178.9 kB / 348 MB, free: 8.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.02822, allocations: 362.7 kB / 348.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.02876, allocations: 266.5 kB / 348.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.02916, allocations: 475.5 kB / 349.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.02989, allocations: 0.7822 MB / 349.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.0299, allocations: 0 / 349.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001075/0.03097, allocations: 0.9803 MB / 350.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.03099, allocations: 8 kB / 350.9 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.031, allocations: 15.92 kB / 350.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.03124, allocations: 120 kB / 351 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.03164, allocations: 207.7 kB / 351.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.03447, allocations: 5.685 MB / 356.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.03476, allocations: 99.25 kB / 357 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.0348, allocations: 39.98 kB / 357 MB, free: 14.35 MB / 330.7 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.0002088/0.03501, allocations: 229.8 kB / 357.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.03507, allocations: 55.61 kB / 357.3 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.03596, allocations: 0.8443 MB / 358.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.03597, allocations: 8 kB / 358.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.03597, allocations: 8 kB / 358.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.03598, allocations: 7.969 kB / 358.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.03768, allocations: 1.679 MB / 359.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.03769, allocations: 0 / 359.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.03796, allocations: 139.8 kB / 360 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.03813, allocations: 107.6 kB / 360.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.03816, allocations: 23.98 kB / 360.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.04052, allocations: 5.261 MB / 365.4 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.04052, allocations: 7.938 kB / 365.4 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.04195, allocations: 1.281 MB / 366.7 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.04201, allocations: 63.92 kB / 366.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.04205, allocations: 23.98 kB / 366.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.04223, allocations: 20 kB / 366.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.04231, allocations: 76.39 kB / 366.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.04234, allocations: 24 kB / 366.9 MB, free: 3.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.04251, allocations: 263.1 kB / 367.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04251, allocations: 0 / 367.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006343/0.04315, allocations: 267.5 kB / 367.4 MB, free: 3.34 MB / 330.7 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.001476/0.04462, allocations: 1.878 MB / 369.3 MB, free: 1.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.0459, allocations: 1.134 MB / 370.4 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.0459, allocations: 4 kB / 370.4 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.04641, allocations: 0.76 MB / 371.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.04679, allocations: 62.42 kB / 371.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.05239, allocations: 5.665 MB / 376.9 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.05265, allocations: 314.4 kB / 377.2 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.05292, allocations: 101.1 kB / 377.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.05313, allocations: 244.4 kB / 377.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05313, allocations: 0 / 377.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.08442, allocations: 14.02 MB / 391.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.606, allocations: 7.328 kB / 391.6 MB, free: 10.83 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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: 9.373258064500988]