Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 188.3 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 43.94 kB / 371.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2232, allocations: 52.19 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006285/0.2295, allocations: 4.684 MB / 428.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.232, allocations: 1.576 MB / 429.6 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.2322, allocations: 16 kB / 429.6 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.2351, allocations: 1.317 MB / 431 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.2357, allocations: 325.6 kB / 431.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.2372, allocations: 0.7627 MB / 432 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000854/0.2381, allocations: 0.8205 MB / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/0.239, allocations: 0.683 MB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.2394, allocations: 366.6 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.24, allocations: 466.2 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.872e-05/0.2401, allocations: 76 kB / 434.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.2405, allocations: 255.8 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2407, allocations: 179.3 kB / 434.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.241, allocations: 346.3 kB / 435.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.2423, allocations: 1.201 MB / 436.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2423, allocations: 3.938 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2423, allocations: 3.938 kB / 436.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.2423, allocations: 4 kB / 436.4 MB, free: 1.258 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.003995/0.2463, allocations: 1.378 MB / 437.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2463, allocations: 12.03 kB / 437.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.252e-05/0.2464, allocations: 30.19 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.2465, allocations: 148.4 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.2482, allocations: 260.2 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2484, allocations: 201.4 kB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.2484, allocations: 70.38 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.2486, allocations: 100.3 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.2502, allocations: 0.946 MB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.2502, allocations: 0 / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.2503, allocations: 40 kB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.2504, allocations: 24 kB / 439.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.2517, allocations: 0.7847 MB / 440.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.2566, allocations: 2.792 MB / 443.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.2584, allocations: 0.8707 MB / 444 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.2589, allocations: 321.1 kB / 444.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.259, allocations: 28.98 kB / 444.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.259, allocations: 43.5 kB / 444.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.259, allocations: 0 / 444.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002045/0.2611, allocations: 1.003 MB / 445.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.2611, allocations: 86.11 kB / 445.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.2615, allocations: 364.4 kB / 445.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.2616, allocations: 41.7 kB / 445.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.2618, allocations: 388.2 kB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/0.2621, allocations: 313.3 kB / 446.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.2624, allocations: 178.8 kB / 446.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2626, allocations: 366.7 kB / 447.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.263, allocations: 274.5 kB / 447.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.2636, allocations: 475.4 kB / 447.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.2647, allocations: 0.7706 MB / 448.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2647, allocations: 0 / 448.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001657/0.2664, allocations: 0.9691 MB / 449.6 MB, free: 3.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.2664, allocations: 8 kB / 449.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2664, allocations: 8 kB / 449.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.2668, allocations: 123.5 kB / 449.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007629/0.2676, allocations: 211.7 kB / 450 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.2722, allocations: 5.69 MB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.2727, allocations: 107.2 kB / 455.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.2728, allocations: 40 kB / 455.8 MB, free: 12.94 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.0002958/0.2731, allocations: 229.5 kB / 456 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.2732, allocations: 59.66 kB / 456.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2747, allocations: 0.8405 MB / 456.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.2747, allocations: 12 kB / 456.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2747, allocations: 7.938 kB / 456.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2747, allocations: 7.922 kB / 456.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.2773, allocations: 1.65 MB / 458.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.2773, allocations: 0 / 458.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.2779, allocations: 136.1 kB / 458.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002704/0.2782, allocations: 111.4 kB / 458.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.2782, allocations: 23.94 kB / 458.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003874/0.2821, allocations: 5.275 MB / 464.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.2821, allocations: 4 kB / 464.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.2839, allocations: 1.273 MB / 465.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-05/0.284, allocations: 75.62 kB / 465.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.2841, allocations: 19.94 kB / 465.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.2844, allocations: 20 kB / 465.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.2845, allocations: 68.52 kB / 465.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.2846, allocations: 28 kB / 465.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.2849, allocations: 251.2 kB / 465.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2849, allocations: 0 / 465.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008423/0.2857, allocations: 263.5 kB / 466.1 MB, free: 1.973 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.002204/0.2879, allocations: 1.871 MB / 468 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.2895, allocations: 1.13 MB / 469.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2895, allocations: 0 / 469.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.2904, allocations: 0.7638 MB / 469.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.2909, allocations: 66.55 kB / 469.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/0.2987, allocations: 5.689 MB / 475.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2991, allocations: 314.4 kB / 475.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004193/0.2995, allocations: 109.1 kB / 476 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.2998, allocations: 247.3 kB / 476.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2998, allocations: 0 / 476.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04645/0.3463, allocations: 13.61 MB / 489.9 MB, free: 9.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.65, allocations: 11.98 kB / 489.9 MB, free: 9.898 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 14.990442360052839]