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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001649/0.001649, allocations: 210.1 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.89 kB / 378.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2897, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006717/0.2964, allocations: 4.689 MB / 436.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.2998, allocations: 1.643 MB / 438.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.3004, allocations: 16 kB / 438.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.3039, allocations: 1.318 MB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.3052, allocations: 329.6 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3069, allocations: 0.6152 MB / 440.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.3083, allocations: 0.7975 MB / 441.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3097, allocations: 0.6751 MB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.3104, allocations: 358.7 kB / 442.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007612/0.3112, allocations: 466.1 kB / 442.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.3113, allocations: 72 kB / 442.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.3119, allocations: 263.8 kB / 443.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3121, allocations: 187.2 kB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.3124, allocations: 338.4 kB / 443.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.3137, allocations: 1.212 MB / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3138, allocations: 0 / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3138, allocations: 0 / 444.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3138, allocations: 0 / 444.9 MB, free: 9.477 MB / 350.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.004046/0.3178, allocations: 1.402 MB / 446.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3179, allocations: 11.97 kB / 446.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.95e-05/0.3179, allocations: 26.19 kB / 446.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.3181, allocations: 148.4 kB / 446.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.3197, allocations: 240.2 kB / 446.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.32, allocations: 210 kB / 446.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.3201, allocations: 74.38 kB / 447 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.3202, allocations: 104.4 kB / 447.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.3219, allocations: 0.9499 MB / 448 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.3219, allocations: 7.953 kB / 448 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.322, allocations: 36 kB / 448 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.322, allocations: 24 kB / 448.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.3234, allocations: 0.7848 MB / 448.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.3284, allocations: 2.827 MB / 451.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.3302, allocations: 0.8891 MB / 452.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.3307, allocations: 328.4 kB / 452.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.3308, allocations: 36.95 kB / 452.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.3309, allocations: 51.44 kB / 453 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.526e-06/0.3309, allocations: 0 / 453 MB, free: 1.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002162/0.333, allocations: 0.9955 MB / 454 MB, free: 124 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3331, allocations: 94.11 kB / 454.1 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.3336, allocations: 364.4 kB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.3336, allocations: 37.7 kB / 454.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.3339, allocations: 392.2 kB / 454.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.3342, allocations: 321.3 kB / 455.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.3344, allocations: 174.9 kB / 455.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3346, allocations: 362.7 kB / 455.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004883/0.3351, allocations: 270.5 kB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/0.3358, allocations: 475.4 kB / 456.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3369, allocations: 0.7784 MB / 457.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3369, allocations: 4 kB / 457.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001799/0.3387, allocations: 0.9771 MB / 458.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3388, allocations: 12 kB / 458.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3388, allocations: 4 kB / 458.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.3392, allocations: 119.3 kB / 458.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.3399, allocations: 207.7 kB / 458.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/0.3445, allocations: 5.685 MB / 464.2 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.3452, allocations: 103.4 kB / 464.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.3452, allocations: 48 kB / 464.3 MB, free: 5.055 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.0003791/0.3456, allocations: 237.5 kB / 464.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3457, allocations: 51.67 kB / 464.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.3473, allocations: 0.8442 MB / 465.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3473, allocations: 8 kB / 465.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.3473, allocations: 7.938 kB / 465.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3473, allocations: 3.984 kB / 465.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3502, allocations: 1.674 MB / 467.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3502, allocations: 7.938 kB / 467.2 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3508, allocations: 139.8 kB / 467.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.3511, allocations: 107.3 kB / 467.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.3511, allocations: 23.98 kB / 467.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004038/0.3552, allocations: 5.284 MB / 472.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.3552, allocations: 7.938 kB / 472.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3571, allocations: 1.273 MB / 474 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3572, allocations: 75.45 kB / 474.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.3573, allocations: 23.92 kB / 474.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.3577, allocations: 20 kB / 474.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3578, allocations: 64.48 kB / 474.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.3579, allocations: 31.98 kB / 474.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3581, allocations: 251.2 kB / 474.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3581, allocations: 0 / 474.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009801/0.3591, allocations: 263.6 kB / 474.7 MB, free: 10.04 MB / 382.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.002366/0.3615, allocations: 1.886 MB / 476.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.3633, allocations: 1.133 MB / 477.7 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3633, allocations: 0 / 477.7 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.3642, allocations: 0.7581 MB / 478.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.3648, allocations: 65.36 kB / 478.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008336/0.3731, allocations: 5.68 MB / 484.2 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3735, allocations: 318.4 kB / 484.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.3739, allocations: 105.1 kB / 484.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.3743, allocations: 251.3 kB / 484.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3743, allocations: 0 / 484.9 MB, free: 15.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.586/0.9604, allocations: 13.86 MB / 498.8 MB, free: 1.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.16, allocations: 23.69 kB / 498.8 MB, free: 1.648 MB / 398.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.750322351930663]