Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0008125/0.0008125, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001231/0.001231, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8829/0.8829, allocations: 177 MB / 204.1 MB, free: 5.758 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.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.256e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002434/0.002447, allocations: 2.668 MB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003954, allocations: 1.141 MB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.004067, allocations: 15.94 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.004861, allocations: 0.5871 MB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.005085, allocations: 146.9 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.005752, allocations: 0.6136 MB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.006035, allocations: 314.4 kB / 330 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.006335, allocations: 239.1 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.006511, allocations: 195.5 kB / 330.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.006638, allocations: 131.7 kB / 330.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.006664, allocations: 28 kB / 330.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.006898, allocations: 167.7 kB / 330.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.00693, allocations: 63.75 kB / 330.8 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.006992, allocations: 103.8 kB / 330.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.007393, allocations: 0.5101 MB / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007395, allocations: 0 / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007396, allocations: 4 kB / 331.4 MB, free: 8.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.0074, allocations: 0 / 331.4 MB, free: 8.98 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009311/0.008331, allocations: 0.6611 MB / 332.1 MB, free: 8.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.008363, allocations: 8.031 kB / 332.1 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.008411, allocations: 70.72 kB / 332.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.0088, allocations: 112.7 kB / 332.3 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.009035, allocations: 214.8 kB / 332.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.00905, allocations: 21.03 kB / 332.5 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.009087, allocations: 32.38 kB / 332.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.009433, allocations: 337.6 kB / 332.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.009449, allocations: 7.938 kB / 332.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.009471, allocations: 16 kB / 332.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.009477, allocations: 8 kB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002584/0.009736, allocations: 242.5 kB / 333.1 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01113, allocations: 1.082 MB / 334.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.01147, allocations: 230.6 kB / 334.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.01157, allocations: 89.23 kB / 334.5 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.01166, allocations: 15.98 kB / 334.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.01168, allocations: 38.42 kB / 334.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.01168, allocations: 4 kB / 334.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007057/0.01238, allocations: 423.1 kB / 335 MB, free: 5.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.01241, allocations: 55.41 kB / 335 MB, free: 5.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01253, allocations: 171.3 kB / 335.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.01254, allocations: 33.7 kB / 335.2 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.01262, allocations: 180.3 kB / 335.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.01266, allocations: 87.27 kB / 335.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.01272, allocations: 57.92 kB / 335.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.01279, allocations: 330.8 kB / 335.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.01287, allocations: 68.47 kB / 336 MB, free: 4.211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.01298, allocations: 137.2 kB / 336.1 MB, free: 4.055 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.01317, allocations: 221 kB / 336.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01318, allocations: 4 kB / 336.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003396/0.01352, allocations: 327.6 kB / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.01353, allocations: 11.44 kB / 336.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01354, allocations: 0 / 336.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.01373, allocations: 73.03 kB / 336.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.01382, allocations: 47.92 kB / 336.8 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.01507, allocations: 1.918 MB / 338.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.514e-05/0.01515, allocations: 27.81 kB / 338.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01517, allocations: 12.06 kB / 338.7 MB, free: 1.281 MB / 298.7 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.01527, allocations: 145.8 kB / 338.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.0153, allocations: 15.91 kB / 338.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.01563, allocations: 284.1 kB / 339.1 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01563, allocations: 8 kB / 339.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.01564, allocations: 4 kB / 339.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01564, allocations: 0 / 339.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.01623, allocations: 0.631 MB / 339.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01623, allocations: 0 / 339.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.01629, allocations: 27.98 kB / 339.8 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.01642, allocations: 72.75 kB / 339.9 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01643, allocations: 8 kB / 339.9 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.01781, allocations: 1.911 MB / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01781, allocations: 64 / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.01837, allocations: 452.5 kB / 342.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.01843, allocations: 35.84 kB / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.01845, allocations: 8 kB / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.01853, allocations: 4 kB / 342.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.01857, allocations: 19.95 kB / 342.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.01858, allocations: 8 kB / 342.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.01865, allocations: 131.4 kB / 342.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01865, allocations: 0 / 342.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.01902, allocations: 99.84 kB / 342.6 MB, free: 13.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007006/0.01972, allocations: 1.002 MB / 343.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.02014, allocations: 346.2 kB / 343.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02014, allocations: 0 / 343.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.02032, allocations: 234.5 kB / 344.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.02054, allocations: 24.38 kB / 344.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.02271, allocations: 2.468 MB / 346.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.02283, allocations: 150.5 kB / 346.8 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.0229, allocations: 21.94 kB / 346.8 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.02301, allocations: 76.47 kB / 346.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02301, allocations: 0 / 346.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.04397, allocations: 5.924 MB / 352.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.238, allocations: 4 kB / 352.8 MB, free: 2.926 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable leakageWithCoefficient.port_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.960142569616437]