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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008417, allocations: 98.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009662/0.0009662, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001931/0.0001931, allocations: 4 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.07863, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004541/0.0832, allocations: 4.771 MB / 364.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.08575, allocations: 1.701 MB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.08613, allocations: 16 kB / 365.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.08672, allocations: 262.9 kB / 366.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.08741, allocations: 270.3 kB / 366.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.08854, allocations: 0.6151 MB / 367 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.08921, allocations: 0.7698 MB / 367.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.09147, allocations: 1.491 MB / 369.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.09178, allocations: 290.7 kB / 369.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.09216, allocations: 410.1 kB / 369.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.09222, allocations: 36 kB / 370 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.09264, allocations: 219.8 kB / 370.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.09273, allocations: 135.3 kB / 370.3 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.093, allocations: 395.7 kB / 370.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008892/0.0939, allocations: 1.148 MB / 371.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.09391, allocations: 0 / 371.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09392, allocations: 0 / 371.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.09393, allocations: 0 / 371.9 MB, free: 0.6172 MB / 302.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.1374/0.2314, allocations: 1.286 MB / 373.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.2314, allocations: 9.75 kB / 373.1 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002918/0.2317, allocations: 150.8 kB / 373.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.2334, allocations: 256 kB / 373.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2336, allocations: 260.5 kB / 373.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.2337, allocations: 79 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.2338, allocations: 101.9 kB / 374 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2354, allocations: 0.9407 MB / 374.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.2355, allocations: 8.422 kB / 374.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.2356, allocations: 38.47 kB / 375 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.2356, allocations: 24 kB / 375 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2371, allocations: 0.7792 MB / 375.8 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00466/0.2418, allocations: 3.64 MB / 379.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.2435, allocations: 1.25 MB / 380.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.244, allocations: 371.7 kB / 381 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.2442, allocations: 185.8 kB / 381.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2442, allocations: 48.45 kB / 381.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.464e-06/0.2442, allocations: 0 / 381.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001869/0.2461, allocations: 1.31 MB / 382.6 MB, free: 13.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2461, allocations: 86.33 kB / 382.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.2465, allocations: 369.5 kB / 383 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.2465, allocations: 36.58 kB / 383 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2467, allocations: 387.7 kB / 383.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.2468, allocations: 296.8 kB / 383.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/0.2469, allocations: 82.16 kB / 383.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.247, allocations: 366.5 kB / 384.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/0.2474, allocations: 265.6 kB / 384.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.248, allocations: 471.5 kB / 384.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009249/0.2489, allocations: 0.7715 MB / 385.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2489, allocations: 5.188 kB / 385.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001464/0.2504, allocations: 0.9673 MB / 386.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2504, allocations: 11.66 kB / 386.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2504, allocations: 6.25 kB / 386.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.2508, allocations: 126.2 kB / 386.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.2515, allocations: 207.5 kB / 387 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.2542, allocations: 5.58 MB / 392.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.2547, allocations: 100.7 kB / 392.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.2548, allocations: 39.52 kB / 392.7 MB, free: 5.57 MB / 302.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.0002716/0.2551, allocations: 237.3 kB / 392.9 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.2552, allocations: 53.86 kB / 393 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.2566, allocations: 0.8496 MB / 393.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.2566, allocations: 10.11 kB / 393.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2566, allocations: 2.969 kB / 393.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2566, allocations: 7.922 kB / 393.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.2592, allocations: 2.091 MB / 395.9 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2592, allocations: 3.375 kB / 395.9 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.2597, allocations: 134.4 kB / 396.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.26, allocations: 110.6 kB / 396.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.26, allocations: 24.77 kB / 396.2 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.2626, allocations: 5.304 MB / 401.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2627, allocations: 3.312 kB / 401.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2643, allocations: 1.277 MB / 402.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2644, allocations: 146.5 kB / 402.9 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.2645, allocations: 22.62 kB / 402.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.2649, allocations: 17.28 kB / 402.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.265, allocations: 61.84 kB / 403 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.265, allocations: 28.81 kB / 403 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.2653, allocations: 254.1 kB / 403.3 MB, free: 13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2653, allocations: 1.094 kB / 403.3 MB, free: 13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008927/0.2662, allocations: 264.1 kB / 403.5 MB, free: 12.93 MB / 318.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.002038/0.2682, allocations: 1.879 MB / 405.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2697, allocations: 1.17 MB / 406.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2697, allocations: 3.781 kB / 406.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007166/0.2705, allocations: 0.7901 MB / 407.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.2711, allocations: 61.08 kB / 407.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.2779, allocations: 6.16 MB / 413.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.2784, allocations: 0.911 MB / 414.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004813/0.2789, allocations: 105.1 kB / 414.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.2792, allocations: 247.3 kB / 414.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2792, allocations: 4 kB / 414.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.3033, allocations: 11.99 MB / 426.9 MB, free: 7.699 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.3036, allocations: 248.7 kB / 427.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.236, allocations: 0 / 427.1 MB, free: 7.445 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches