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.001315/0.001315, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 203.9 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2366, allocations: 50.55 MB / 408.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006961/0.2436, allocations: 5.264 MB / 414.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.2468, allocations: 1.74 MB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.2471, allocations: 16 kB / 415.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003193/0.2503, allocations: 1.411 MB / 417.3 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.2511, allocations: 321.6 kB / 417.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2525, allocations: 0.646 MB / 418.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.2535, allocations: 0.7974 MB / 419 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2546, allocations: 0.7614 MB / 419.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.2551, allocations: 358.6 kB / 420.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.2557, allocations: 462.1 kB / 420.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2558, allocations: 72 kB / 420.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005769/0.2564, allocations: 271.8 kB / 420.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2566, allocations: 179.3 kB / 421.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.257, allocations: 417.9 kB / 421.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2584, allocations: 1.213 MB / 422.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2584, allocations: 0 / 422.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2584, allocations: 4 kB / 422.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.2584, allocations: 4 kB / 422.7 MB, free: 3.508 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.004105/0.2625, allocations: 1.473 MB / 424.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2626, allocations: 12.03 kB / 424.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.2627, allocations: 148.4 kB / 424.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.2645, allocations: 236.2 kB / 424.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2647, allocations: 267.2 kB / 424.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.2648, allocations: 74.38 kB / 424.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.265, allocations: 100.4 kB / 425 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2666, allocations: 0.9461 MB / 426 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.2667, allocations: 15.94 kB / 426 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.2668, allocations: 39.94 kB / 426 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2668, allocations: 24 kB / 426 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.2683, allocations: 0.781 MB / 426.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/0.2738, allocations: 3.623 MB / 430.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.2759, allocations: 1.253 MB / 431.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.2765, allocations: 380.2 kB / 432.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.2767, allocations: 191.2 kB / 432.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.2768, allocations: 47.5 kB / 432.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.2768, allocations: 0 / 432.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002401/0.2792, allocations: 1.308 MB / 433.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.2793, allocations: 94.05 kB / 433.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.2797, allocations: 368.3 kB / 434.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.2798, allocations: 41.7 kB / 434.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.2801, allocations: 392.2 kB / 434.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.2803, allocations: 317.3 kB / 434.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.2806, allocations: 174.9 kB / 435 MB, free: 6.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2808, allocations: 362.7 kB / 435.3 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.2813, allocations: 270.5 kB / 435.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/0.282, allocations: 471.5 kB / 436 MB, free: 5.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.2832, allocations: 0.7861 MB / 436.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2832, allocations: 0 / 436.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001824/0.2851, allocations: 0.9881 MB / 437.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2851, allocations: 4.656 kB / 437.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2851, allocations: 8 kB / 437.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/0.2855, allocations: 123.4 kB / 437.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.2864, allocations: 207.7 kB / 438.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.2914, allocations: 6.115 MB / 444.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.2921, allocations: 99.25 kB / 444.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.2922, allocations: 43.98 kB / 444.4 MB, free: 12.45 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.0003555/0.2925, allocations: 237.5 kB / 444.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2927, allocations: 55.81 kB / 444.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.2943, allocations: 0.8481 MB / 445.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.2943, allocations: 8 kB / 445.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2943, allocations: 7.938 kB / 445.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.2944, allocations: 7.969 kB / 445.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.2976, allocations: 2.101 MB / 447.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.2976, allocations: 4 kB / 447.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006323/0.2983, allocations: 140.1 kB / 447.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/0.2986, allocations: 107.4 kB / 447.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.2986, allocations: 20 kB / 447.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.3031, allocations: 5.724 MB / 453.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3032, allocations: 4 kB / 453.7 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.3052, allocations: 1.289 MB / 454.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3054, allocations: 144.6 kB / 455.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.3055, allocations: 27.88 kB / 455.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.3059, allocations: 16 kB / 455.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.306, allocations: 64.52 kB / 455.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.3061, allocations: 31.98 kB / 455.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.3064, allocations: 255.2 kB / 455.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3064, allocations: 0 / 455.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009561/0.3074, allocations: 263.5 kB / 455.7 MB, free: 280 kB / 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.002448/0.3098, allocations: 1.879 MB / 457.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3117, allocations: 1.181 MB / 458.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3117, allocations: 3.938 kB / 458.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.3127, allocations: 0.8004 MB / 459.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3133, allocations: 64.98 kB / 459.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.3218, allocations: 5.682 MB / 465.3 MB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.3224, allocations: 0.911 MB / 466.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.3229, allocations: 101.1 kB / 466.4 MB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.3232, allocations: 247.3 kB / 466.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3232, allocations: 0 / 466.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0522/0.3755, allocations: 12.67 MB / 479.3 MB, free: 8.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 7.688 kB / 479.3 MB, free: 8.422 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 & /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.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