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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 106.6 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 45.7 kB / 300.1 MB, free: 6.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08346, allocations: 49.45 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006205/0.0897, allocations: 5.211 MB / 354.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.09309, allocations: 1.666 MB / 356.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.09355, allocations: 23.94 kB / 356.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.0965, allocations: 1.334 MB / 357.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008711/0.09738, allocations: 266.3 kB / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.09892, allocations: 0.7977 MB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000829/0.09976, allocations: 0.7663 MB / 359.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.1008, allocations: 0.7149 MB / 360.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.1012, allocations: 330.7 kB / 360.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.1016, allocations: 458.1 kB / 361.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.1017, allocations: 56 kB / 361.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.1022, allocations: 239.8 kB / 361.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1023, allocations: 163.3 kB / 361.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.1026, allocations: 405.9 kB / 361.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009782/0.1036, allocations: 1.168 MB / 363.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1036, allocations: 0 / 363.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1036, allocations: 0 / 363.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1036, allocations: 4 kB / 363.1 MB, free: 7.102 MB / 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.003592/0.1072, allocations: 1.44 MB / 364.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1073, allocations: 8.031 kB / 364.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.1074, allocations: 152.4 kB / 364.7 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.109, allocations: 251.7 kB / 364.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1092, allocations: 271 kB / 365.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.1093, allocations: 74.38 kB / 365.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.1095, allocations: 96.38 kB / 365.4 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.1109, allocations: 0.9461 MB / 366.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.1109, allocations: 0 / 366.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.111, allocations: 44 kB / 366.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.111, allocations: 24 kB / 366.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1123, allocations: 0.777 MB / 367.2 MB, free: 2.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/0.2449, allocations: 3.38 MB / 370.5 MB, free: 24.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.2466, allocations: 1.251 MB / 371.8 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.2471, allocations: 377.2 kB / 372.2 MB, free: 23.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/0.2472, allocations: 101.6 kB / 372.3 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2472, allocations: 46.36 kB / 372.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.465e-06/0.2472, allocations: 0 / 372.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001888/0.2491, allocations: 1.308 MB / 373.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.2492, allocations: 88.2 kB / 373.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.2495, allocations: 364.7 kB / 374 MB, free: 22.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.2495, allocations: 42.3 kB / 374.1 MB, free: 22.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.2497, allocations: 387.3 kB / 374.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2498, allocations: 292.5 kB / 374.8 MB, free: 22.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.25, allocations: 174.4 kB / 374.9 MB, free: 22.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.2501, allocations: 362.8 kB / 375.3 MB, free: 21.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.2505, allocations: 266 kB / 375.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.251, allocations: 479.3 kB / 376 MB, free: 21.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.2519, allocations: 0.7686 MB / 376.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2519, allocations: 6.25 kB / 376.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001396/0.2533, allocations: 0.9757 MB / 377.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2533, allocations: 12.17 kB / 377.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.2533, allocations: 6.25 kB / 377.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.2537, allocations: 119 kB / 377.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007186/0.2544, allocations: 208.1 kB / 378.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.2571, allocations: 5.569 MB / 383.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.2576, allocations: 105.5 kB / 383.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.864e-05/0.2577, allocations: 39.28 kB / 383.8 MB, free: 14.71 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.00028/0.258, allocations: 230.9 kB / 384 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2581, allocations: 57.66 kB / 384.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.2594, allocations: 0.8461 MB / 384.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2594, allocations: 12.75 kB / 384.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2594, allocations: 3.281 kB / 384.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2594, allocations: 7.5 kB / 385 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.2618, allocations: 1.93 MB / 386.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2619, allocations: 3.219 kB / 386.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.2624, allocations: 135.4 kB / 387 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002647/0.2627, allocations: 111.1 kB / 387.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.2627, allocations: 20.75 kB / 387.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.2649, allocations: 5.301 MB / 392.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.265, allocations: 3.594 kB / 392.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.2665, allocations: 1.276 MB / 393.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2666, allocations: 147.1 kB / 393.9 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.2667, allocations: 15.61 kB / 393.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.2671, allocations: 22 kB / 393.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.2672, allocations: 66.39 kB / 394 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.2672, allocations: 31.58 kB / 394 MB, free: 6.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.2675, allocations: 255.5 kB / 394.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2675, allocations: 0 / 394.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000921/0.2684, allocations: 263.9 kB / 394.5 MB, free: 6.273 MB / 302.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.001798/0.2702, allocations: 1.876 MB / 396.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.2717, allocations: 1.169 MB / 397.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2717, allocations: 1.344 kB / 397.6 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006848/0.2724, allocations: 0.7903 MB / 398.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.2729, allocations: 64.73 kB / 398.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006855/0.2798, allocations: 6.106 MB / 404.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.2804, allocations: 0.9106 MB / 405.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005258/0.2809, allocations: 112.8 kB / 405.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.2812, allocations: 243.6 kB / 405.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2812, allocations: 0 / 405.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.3076, allocations: 12.16 MB / 417.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.3079, allocations: 257.3 kB / 418.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.464, allocations: 0 / 418.2 MB, free: 3.773 MB / 318.1 MB (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 --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) 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) Reference file matches