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.001357/0.001357, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.001615/0.001615, allocations: 212.7 kB / 24.52 MB, free: 4.141 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.001781/0.001781, allocations: 59.91 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2419, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006886/0.2487, allocations: 5.299 MB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.252, allocations: 1.763 MB / 439 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002496/0.2522, allocations: 16 kB / 439.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.2555, allocations: 1.427 MB / 440.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008254/0.2563, allocations: 329.6 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2577, allocations: 0.6458 MB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2588, allocations: 0.8051 MB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.2598, allocations: 0.679 MB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.2602, allocations: 358.7 kB / 443.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.2608, allocations: 462.1 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-05/0.2609, allocations: 76 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.2614, allocations: 263.8 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2616, allocations: 179.3 kB / 444.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.2619, allocations: 429.9 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.2633, allocations: 1.207 MB / 445.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2633, allocations: 0 / 445.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2633, allocations: 0 / 445.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2633, allocations: 3.938 kB / 445.9 MB, free: 8.738 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.004689/0.268, allocations: 1.394 MB / 447.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.268, allocations: 8.031 kB / 447.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.719e-05/0.2681, allocations: 26.19 kB / 447.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.2684, allocations: 148.4 kB / 447.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/0.271, allocations: 240.2 kB / 447.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.2714, allocations: 214 kB / 447.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.2714, allocations: 74.38 kB / 448 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.2717, allocations: 100.4 kB / 448.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.2733, allocations: 0.9421 MB / 449 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.2734, allocations: 19.89 kB / 449 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.2734, allocations: 39.98 kB / 449.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2735, allocations: 24 kB / 449.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2748, allocations: 0.7809 MB / 449.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.28, allocations: 3.08 MB / 452.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.2818, allocations: 0.8856 MB / 453.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.2824, allocations: 328.4 kB / 454.2 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2825, allocations: 40.94 kB / 454.2 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2825, allocations: 55.44 kB / 454.2 MB, free: 140 kB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.634e-06/0.2825, allocations: 0 / 454.2 MB, free: 140 kB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002176/0.2847, allocations: 0.9955 MB / 455.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.2847, allocations: 90.09 kB / 455.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.2852, allocations: 364.4 kB / 455.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/0.2852, allocations: 41.7 kB / 455.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.2855, allocations: 392.1 kB / 456.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.2858, allocations: 325.3 kB / 456.4 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.286, allocations: 170.9 kB / 456.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2862, allocations: 362.7 kB / 456.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.2867, allocations: 266.5 kB / 457.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.2874, allocations: 483.3 kB / 457.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2885, allocations: 0.7706 MB / 458.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2885, allocations: 7.938 kB / 458.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001744/0.2903, allocations: 0.9849 MB / 459.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2903, allocations: 4 kB / 459.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2903, allocations: 8 kB / 459.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.2907, allocations: 127.3 kB / 459.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.2915, allocations: 203.7 kB / 459.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/0.2962, allocations: 5.701 MB / 465.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005879/0.2968, allocations: 111.2 kB / 465.6 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.2969, allocations: 40 kB / 465.6 MB, free: 4.039 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.0003423/0.2972, allocations: 237.4 kB / 465.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2973, allocations: 55.67 kB / 465.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2989, allocations: 0.8364 MB / 466.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.2989, allocations: 12 kB / 466.8 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2989, allocations: 3.938 kB / 466.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2989, allocations: 3.984 kB / 466.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.3018, allocations: 1.779 MB / 468.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3018, allocations: 4 kB / 468.6 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.3024, allocations: 135.8 kB / 468.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.3027, allocations: 115.6 kB / 468.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.3027, allocations: 20 kB / 468.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00416/0.3069, allocations: 5.296 MB / 474.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.3069, allocations: 7.938 kB / 474.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3088, allocations: 1.281 MB / 475.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3089, allocations: 67.5 kB / 475.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.309, allocations: 27.89 kB / 475.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.3094, allocations: 20 kB / 475.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3095, allocations: 76.53 kB / 475.6 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.3095, allocations: 20 kB / 475.6 MB, free: 9.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.3098, allocations: 255.2 kB / 475.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3098, allocations: 0 / 475.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000935/0.3108, allocations: 259.6 kB / 476.1 MB, free: 8.914 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.002335/0.3131, allocations: 1.883 MB / 478 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.3148, allocations: 1.137 MB / 479.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3148, allocations: 1.438 kB / 479.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.3158, allocations: 0.7644 MB / 479.9 MB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.3163, allocations: 64.73 kB / 480 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008211/0.3245, allocations: 5.691 MB / 485.7 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.3251, allocations: 0.911 MB / 486.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.3255, allocations: 109.1 kB / 486.7 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.3259, allocations: 247.3 kB / 486.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3259, allocations: 0 / 486.9 MB, free: 13.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.3746, allocations: 13.8 MB / 0.489 GB, free: 15.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.91, allocations: 8 kB / 0.489 GB, free: 15.94 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.35619256598875]