Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_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.0009222/0.0009222, allocations: 95.17 kB / 17.3 MB, free: 6.344 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.001052/0.001052, allocations: 177.1 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004686, allocations: 8 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08489/0.08537, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004848/0.09027, allocations: 4.732 MB / 333.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.09326, allocations: 1.687 MB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.09359, allocations: 16 kB / 335.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006388/0.09424, allocations: 270.9 kB / 335.8 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000732/0.09498, allocations: 262.3 kB / 336 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.0965, allocations: 0.7712 MB / 336.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008922/0.0974, allocations: 0.7779 MB / 337.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.09996, allocations: 1.483 MB / 339.1 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1004, allocations: 298.7 kB / 339.3 MB, free: 9.305 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004445/0.1009, allocations: 402.2 kB / 339.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.1009, allocations: 36 kB / 339.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.1016, allocations: 219.8 kB / 340 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1017, allocations: 135.3 kB / 340.1 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.102, allocations: 403.6 kB / 340.5 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.103, allocations: 1.117 MB / 341.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.103, allocations: 0 / 341.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.103, allocations: 0 / 341.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1031, allocations: 0 / 341.6 MB, free: 7.004 MB / 286.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.003604/0.1067, allocations: 1.287 MB / 342.9 MB, free: 5.664 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1067, allocations: 12.03 kB / 342.9 MB, free: 5.652 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.1069, allocations: 144.4 kB / 343.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.1085, allocations: 255.7 kB / 343.3 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1088, allocations: 259.2 kB / 343.6 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.1088, allocations: 70.38 kB / 343.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.109, allocations: 104.3 kB / 343.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.1104, allocations: 0.946 MB / 344.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.1105, allocations: 0 / 344.7 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.1105, allocations: 40 kB / 344.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.1106, allocations: 24 kB / 344.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.1119, allocations: 0.7883 MB / 345.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/0.1168, allocations: 3.4 MB / 348.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.1186, allocations: 1.253 MB / 350.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.1191, allocations: 369.2 kB / 350.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1193, allocations: 106 kB / 350.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1193, allocations: 59.42 kB / 350.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.645e-06/0.1193, allocations: 0 / 350.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002094/0.1214, allocations: 1.3 MB / 352 MB, free: 12.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.1215, allocations: 86.11 kB / 352.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.1219, allocations: 368.3 kB / 352.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.122, allocations: 41.7 kB / 352.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.1222, allocations: 378.9 kB / 352.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.1225, allocations: 303.7 kB / 353.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1226, allocations: 81.67 kB / 353.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1227, allocations: 362.7 kB / 353.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1231, allocations: 266.5 kB / 353.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.1237, allocations: 483.4 kB / 354.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1247, allocations: 0.7628 MB / 355.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1247, allocations: 0 / 355.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001535/0.1263, allocations: 0.9766 MB / 356.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1263, allocations: 8 kB / 356.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1263, allocations: 4 kB / 356.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.1267, allocations: 127.5 kB / 356.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.1275, allocations: 203.7 kB / 356.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/0.1313, allocations: 5.582 MB / 362 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.1319, allocations: 102.8 kB / 362.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.132, allocations: 39.98 kB / 362.1 MB, free: 1.215 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.0003428/0.1323, allocations: 241.5 kB / 362.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1324, allocations: 47.44 kB / 362.4 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.1338, allocations: 0.8444 MB / 363.3 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1339, allocations: 16 kB / 363.3 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1339, allocations: 3.938 kB / 363.3 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1339, allocations: 7.922 kB / 363.3 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.1367, allocations: 1.931 MB / 365.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1367, allocations: 4 kB / 365.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.1372, allocations: 135.8 kB / 365.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002843/0.1375, allocations: 111.6 kB / 365.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.1376, allocations: 16 kB / 365.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003714/0.1413, allocations: 5.314 MB / 370.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1413, allocations: 4 kB / 370.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1431, allocations: 1.279 MB / 372.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1433, allocations: 148.2 kB / 372.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.1433, allocations: 16 kB / 372.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.1437, allocations: 23.98 kB / 372.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1438, allocations: 68.58 kB / 372.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.1439, allocations: 20 kB / 372.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.1442, allocations: 259.2 kB / 372.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1442, allocations: 0 / 372.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001008/0.1452, allocations: 267.3 kB / 372.9 MB, free: 5.699 MB / 318.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.002252/0.1475, allocations: 1.852 MB / 374.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.1493, allocations: 1.169 MB / 375.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.1494, allocations: 0 / 375.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.1502, allocations: 0.7928 MB / 376.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.151, allocations: 69.69 kB / 376.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1682/0.3192, allocations: 6.171 MB / 382.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3198, allocations: 0.9107 MB / 383.8 MB, free: 48.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005959/0.3204, allocations: 104 kB / 383.9 MB, free: 48.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.3208, allocations: 243.2 kB / 384.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.964e-06/0.3208, allocations: 0 / 384.2 MB, free: 48.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3484, allocations: 11.93 MB / 396.1 MB, free: 44.46 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.3486, allocations: 248.1 kB / 396.3 MB, free: 44.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.549, allocations: 3.906 kB / 396.3 MB, free: 44.21 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches