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.001458/0.001458, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60.58 kB / 307.1 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09836, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00646/0.1049, allocations: 5.247 MB / 362.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1079, allocations: 1.728 MB / 364.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.1084, allocations: 16 kB / 364.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.1117, allocations: 1.419 MB / 366 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.113, allocations: 321.6 kB / 366.3 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.1146, allocations: 0.642 MB / 367 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.1158, allocations: 0.8088 MB / 367.8 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.117, allocations: 0.7577 MB / 368.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1176, allocations: 346.7 kB / 368.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006411/0.1182, allocations: 478.1 kB / 369.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1184, allocations: 72 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.1191, allocations: 259.8 kB / 369.7 MB, free: 1.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1193, allocations: 183.2 kB / 369.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.1197, allocations: 421.9 kB / 370.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.1211, allocations: 1.187 MB / 371.4 MB, free: 72 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1211, allocations: 0 / 371.4 MB, free: 72 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1211, allocations: 0 / 371.4 MB, free: 72 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.1212, allocations: 0 / 371.4 MB, free: 72 kB / 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.1553/0.2765, allocations: 1.454 MB / 372.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2765, allocations: 10.25 kB / 372.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.2767, allocations: 150.2 kB / 373 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2784, allocations: 256 kB / 373.3 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2786, allocations: 258.5 kB / 373.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.2787, allocations: 74.69 kB / 373.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.2789, allocations: 101.1 kB / 373.7 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.2805, allocations: 0.9381 MB / 374.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.2805, allocations: 6.359 kB / 374.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.2806, allocations: 44 kB / 374.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.2806, allocations: 24.42 kB / 374.7 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2819, allocations: 0.7779 MB / 375.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.2866, allocations: 3.63 MB / 379.1 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.2884, allocations: 1.249 MB / 380.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.2889, allocations: 373.2 kB / 380.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.289, allocations: 187.5 kB / 380.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.2891, allocations: 43.06 kB / 381 MB, free: 15.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.685e-06/0.2891, allocations: 0 / 381 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.00193/0.291, allocations: 1.304 MB / 382.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.291, allocations: 95.77 kB / 382.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.2914, allocations: 365.1 kB / 382.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.2915, allocations: 41.8 kB / 382.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.2916, allocations: 380.3 kB / 383.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2918, allocations: 298.6 kB / 383.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.292, allocations: 172.8 kB / 383.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.2921, allocations: 362.8 kB / 384 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.2926, allocations: 262.5 kB / 384.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.2931, allocations: 479.2 kB / 384.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.294, allocations: 0.7681 MB / 385.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.294, allocations: 5.875 kB / 385.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001542/0.2956, allocations: 0.9699 MB / 386.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2956, allocations: 8.062 kB / 386.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2956, allocations: 7.109 kB / 386.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.296, allocations: 126.2 kB / 386.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.2968, allocations: 203.7 kB / 386.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.2998, allocations: 6.121 MB / 392.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/0.3005, allocations: 100.5 kB / 393 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.3006, allocations: 40.53 kB / 393 MB, free: 5.754 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.0003032/0.3009, allocations: 242.6 kB / 393.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.301, allocations: 54.38 kB / 393.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3024, allocations: 0.8463 MB / 394.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3024, allocations: 11.84 kB / 394.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3025, allocations: 3 kB / 394.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3025, allocations: 9.203 kB / 394.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.3052, allocations: 2.089 MB / 396.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3053, allocations: 3 kB / 396.3 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.3058, allocations: 135.2 kB / 396.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.3062, allocations: 115.6 kB / 396.5 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.3062, allocations: 20.36 kB / 396.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.3094, allocations: 5.712 MB / 402.2 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.3094, allocations: 10.62 kB / 402.3 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.3114, allocations: 1.272 MB / 403.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.3117, allocations: 142 kB / 403.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.3118, allocations: 19.03 kB / 403.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.3122, allocations: 21.72 kB / 403.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3124, allocations: 69.58 kB / 403.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.3125, allocations: 23.47 kB / 403.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3128, allocations: 259.8 kB / 404.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3128, allocations: 0 / 404.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00117/0.314, allocations: 259.8 kB / 404.3 MB, free: 12.65 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.002241/0.3162, allocations: 1.874 MB / 406.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3185, allocations: 1.197 MB / 407.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.3186, allocations: 3.938 kB / 407.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.3195, allocations: 0.8023 MB / 408.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.3202, allocations: 69 kB / 408.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.3284, allocations: 5.763 MB / 414 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.329, allocations: 0.9149 MB / 414.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005594/0.3295, allocations: 105.1 kB / 415 MB, free: 3.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3299, allocations: 247.3 kB / 415.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3299, allocations: 0 / 415.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.3721, allocations: 12.59 MB / 427.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 3.984 kB / 427.9 MB, free: 6.777 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