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.001484/0.001484, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001498/0.001498, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 60.03 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2582, allocations: 50.54 MB / 408.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006919/0.2651, allocations: 5.268 MB / 414 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.2684, allocations: 1.72 MB / 415.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.2686, allocations: 16 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.2718, allocations: 1.415 MB / 417.2 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.2726, allocations: 325.6 kB / 417.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2739, allocations: 0.642 MB / 418.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2749, allocations: 0.8052 MB / 418.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.2762, allocations: 0.7653 MB / 419.7 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.2767, allocations: 350.7 kB / 420.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.2772, allocations: 458.2 kB / 420.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.2773, allocations: 76 kB / 420.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.2779, allocations: 267.8 kB / 420.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.2781, allocations: 175.4 kB / 421 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.2785, allocations: 425.8 kB / 421.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.2799, allocations: 1.213 MB / 422.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.2799, allocations: 0 / 422.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2799, allocations: 0 / 422.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2799, allocations: 0 / 422.6 MB, free: 3.758 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.004013/0.2839, allocations: 1.473 MB / 424.1 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.284, allocations: 8.031 kB / 424.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.2841, allocations: 152.4 kB / 424.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.2857, allocations: 256.2 kB / 424.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.286, allocations: 267.2 kB / 424.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.2861, allocations: 70.38 kB / 424.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.2862, allocations: 100.4 kB / 424.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.2877, allocations: 0.9384 MB / 425.9 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.2878, allocations: 11.95 kB / 425.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.2879, allocations: 36 kB / 425.9 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.2879, allocations: 24 kB / 426 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2893, allocations: 0.7848 MB / 426.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.2945, allocations: 3.607 MB / 430.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.2965, allocations: 1.248 MB / 431.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.297, allocations: 366 kB / 431.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.2972, allocations: 191.2 kB / 432.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2973, allocations: 51.42 kB / 432.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.324e-06/0.2973, allocations: 0 / 432.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002191/0.2995, allocations: 1.297 MB / 433.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.2995, allocations: 90.09 kB / 433.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.3, allocations: 372.4 kB / 433.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.3, allocations: 41.7 kB / 434 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.3003, allocations: 388.2 kB / 434.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.3006, allocations: 317.3 kB / 434.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.3008, allocations: 174.9 kB / 434.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.301, allocations: 366.7 kB / 435.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.3015, allocations: 262.5 kB / 435.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.3021, allocations: 483.4 kB / 435.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3032, allocations: 0.7667 MB / 436.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3032, allocations: 4 kB / 436.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00169/0.3049, allocations: 0.9768 MB / 437.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3049, allocations: 11.94 kB / 437.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.305, allocations: 11.98 kB / 437.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003868/0.3054, allocations: 123.6 kB / 437.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.3061, allocations: 203.7 kB / 438 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/0.3111, allocations: 6.107 MB / 444.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006529/0.3118, allocations: 107.2 kB / 444.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.3119, allocations: 39.98 kB / 444.3 MB, free: 12.75 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.0003785/0.3122, allocations: 237.5 kB / 444.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3124, allocations: 55.62 kB / 444.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3139, allocations: 0.8482 MB / 445.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.314, allocations: 8 kB / 445.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.314, allocations: 7.938 kB / 445.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.314, allocations: 3.984 kB / 445.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.3171, allocations: 2.089 MB / 447.5 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.3171, allocations: 4.281 kB / 447.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.3177, allocations: 139.8 kB / 447.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.318, allocations: 107.3 kB / 447.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.035e-05/0.318, allocations: 19.98 kB / 447.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/0.3226, allocations: 5.716 MB / 453.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3227, allocations: 0 / 453.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.3247, allocations: 1.285 MB / 454.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.3249, allocations: 144.6 kB / 454.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.196e-05/0.325, allocations: 27.88 kB / 454.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.3254, allocations: 20 kB / 455 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3255, allocations: 60.56 kB / 455 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.3256, allocations: 28.06 kB / 455 MB, free: 1.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003088/0.3259, allocations: 255.1 kB / 455.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3259, allocations: 4 kB / 455.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009994/0.3269, allocations: 267.5 kB / 455.6 MB, free: 0.6055 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.002359/0.3293, allocations: 1.868 MB / 457.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.3311, allocations: 1.185 MB / 458.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3311, allocations: 0 / 458.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009101/0.3321, allocations: 0.7928 MB / 459.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.3326, allocations: 60.62 kB / 459.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.3408, allocations: 5.708 MB / 465.2 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.3415, allocations: 0.9149 MB / 466.1 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004495/0.342, allocations: 97.11 kB / 466.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.3423, allocations: 247.3 kB / 466.4 MB, free: 5.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3423, allocations: 4 kB / 466.4 MB, free: 5.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/0.3959, allocations: 12.84 MB / 479.3 MB, free: 8.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 2.531 kB / 479.3 MB, free: 8.586 MB / 398.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 & 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) 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) Reference file matches