Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 106.4 kB / 17.06 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 195 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008837/0.0008837, allocations: 39.94 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1987, allocations: 49.45 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005968/0.2047, allocations: 5.25 MB / 405.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.2073, allocations: 1.677 MB / 407.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.2077, allocations: 16 kB / 407.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.2106, allocations: 1.414 MB / 408.6 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007807/0.2114, allocations: 313.6 kB / 408.9 MB, free: 144 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2129, allocations: 0.8155 MB / 409.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000878/0.2138, allocations: 0.8167 MB / 410.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.2147, allocations: 0.7669 MB / 411.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2151, allocations: 350.7 kB / 411.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.2155, allocations: 474.1 kB / 412.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.2156, allocations: 72 kB / 412.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.2161, allocations: 255.8 kB / 412.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2162, allocations: 179.3 kB / 412.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.2165, allocations: 417.9 kB / 413 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2175, allocations: 1.211 MB / 414.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.2175, allocations: 0 / 414.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.2175, allocations: 0 / 414.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2176, allocations: 0 / 414.2 MB, free: 10.79 MB / 334.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.003554/0.2211, allocations: 1.436 MB / 415.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2212, allocations: 8.031 kB / 415.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.2213, allocations: 152.4 kB / 415.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.223, allocations: 251.7 kB / 416.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.2232, allocations: 259.2 kB / 416.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.2232, allocations: 78.31 kB / 416.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2234, allocations: 100.3 kB / 416.5 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2247, allocations: 0.9423 MB / 417.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.2248, allocations: 0 / 417.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.2249, allocations: 44 kB / 417.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2249, allocations: 20 kB / 417.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.2261, allocations: 0.7887 MB / 418.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.2306, allocations: 3.353 MB / 421.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.2324, allocations: 1.256 MB / 422.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.2329, allocations: 370 kB / 423.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.947e-05/0.233, allocations: 98.08 kB / 423.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.233, allocations: 51.48 kB / 423.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.034e-06/0.233, allocations: 0 / 423.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.001995/0.235, allocations: 1.296 MB / 424.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2351, allocations: 98.03 kB / 424.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.2354, allocations: 360.4 kB / 425.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.2355, allocations: 37.7 kB / 425.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.2357, allocations: 386.7 kB / 425.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2359, allocations: 303.7 kB / 425.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.2361, allocations: 174.8 kB / 426 MB, free: 14.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2363, allocations: 366.7 kB / 426.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/0.2367, allocations: 262.5 kB / 426.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.2373, allocations: 483.3 kB / 427.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2383, allocations: 0.7628 MB / 427.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2383, allocations: 0 / 427.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001471/0.2398, allocations: 0.9729 MB / 428.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2398, allocations: 8 kB / 428.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2398, allocations: 15.92 kB / 428.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.2402, allocations: 119.4 kB / 429 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.241, allocations: 207.7 kB / 429.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003866/0.2448, allocations: 6.114 MB / 435.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.2454, allocations: 102.9 kB / 435.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.2455, allocations: 43.98 kB / 435.4 MB, free: 4.254 MB / 350.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.0002892/0.2458, allocations: 233.6 kB / 435.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2459, allocations: 55.34 kB / 435.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2472, allocations: 0.8442 MB / 436.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2473, allocations: 8 kB / 436.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2473, allocations: 7.938 kB / 436.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2473, allocations: 7.984 kB / 436.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.2498, allocations: 1.93 MB / 438.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.2499, allocations: 4 kB / 438.5 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.2504, allocations: 135.8 kB / 438.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.2507, allocations: 111.6 kB / 438.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.2508, allocations: 16 kB / 438.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.2541, allocations: 5.716 MB / 444.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2541, allocations: 4 kB / 444.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2558, allocations: 1.265 MB / 445.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2559, allocations: 144.3 kB / 445.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.256, allocations: 27.92 kB / 445.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.2564, allocations: 20 kB / 446 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.2565, allocations: 64.58 kB / 446 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.2566, allocations: 28 kB / 446.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002598/0.2568, allocations: 259.2 kB / 446.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2568, allocations: 0 / 446.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000876/0.2577, allocations: 259.4 kB / 446.6 MB, free: 8.328 MB / 366.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.002041/0.2598, allocations: 1.863 MB / 448.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.2614, allocations: 1.181 MB / 449.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2614, allocations: 0 / 449.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.2623, allocations: 0.7995 MB / 450.4 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.2628, allocations: 65.3 kB / 450.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.2703, allocations: 5.684 MB / 456.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.2708, allocations: 0.911 MB / 457.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.2713, allocations: 109.1 kB / 457.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.2716, allocations: 243.4 kB / 457.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2716, allocations: 0 / 457.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.669/3.941, allocations: 12.96 MB / 470.4 MB, free: 220 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/16.29, allocations: 11.3 kB / 470.4 MB, free: 212 kB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches