Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001283/0.001283, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 48.58 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 49.45 MB / 350.1 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004537/0.1265, allocations: 2.865 MB / 352.9 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1286, allocations: 1.149 MB / 354.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.1289, allocations: 8 kB / 354.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.1305, allocations: 0.5739 MB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.131, allocations: 119.3 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.1324, allocations: 0.6615 MB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.1328, allocations: 282.6 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.1333, allocations: 239.4 kB / 356 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1336, allocations: 127.5 kB / 356.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1338, allocations: 159.4 kB / 356.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1339, allocations: 20 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1343, allocations: 175.8 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1344, allocations: 51.78 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1346, allocations: 143.3 kB / 356.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000499/0.1351, allocations: 391.2 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1351, allocations: 3.984 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1351, allocations: 0 / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1351, allocations: 0 / 357 MB, free: 13.89 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001803/0.1369, allocations: 0.7138 MB / 357.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.137, allocations: 16.03 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.1378, allocations: 116.5 kB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1382, allocations: 264 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.1382, allocations: 24.97 kB / 358.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.1383, allocations: 36.38 kB / 358.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.1389, allocations: 337 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1389, allocations: 3.984 kB / 358.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1389, allocations: 16 kB / 358.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.139, allocations: 11.98 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1394, allocations: 234.5 kB / 358.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.1415, allocations: 1.443 MB / 360.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.1422, allocations: 0.7043 MB / 360.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.1424, allocations: 104.8 kB / 361 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1425, allocations: 93.02 kB / 361.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1426, allocations: 38.56 kB / 361.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.1426, allocations: 0 / 361.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001261/0.1439, allocations: 495.3 kB / 361.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1439, allocations: 51.41 kB / 361.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1441, allocations: 179.2 kB / 361.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1441, allocations: 33.7 kB / 361.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1443, allocations: 172 kB / 362 MB, free: 8.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.1443, allocations: 90.69 kB / 362.1 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.1444, allocations: 45.98 kB / 362.2 MB, free: 8.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1446, allocations: 330.8 kB / 362.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1447, allocations: 68.53 kB / 362.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1449, allocations: 129 kB / 362.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1452, allocations: 224 kB / 362.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1452, allocations: 0 / 362.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006071/0.1458, allocations: 328.5 kB / 363.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1458, allocations: 8 kB / 363.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1459, allocations: 0 / 363.2 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.1462, allocations: 81.02 kB / 363.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1464, allocations: 43.92 kB / 363.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.1484, allocations: 1.827 MB / 365.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1486, allocations: 31.67 kB / 365.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1486, allocations: 15.94 kB / 365.2 MB, free: 4.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1488, allocations: 148.7 kB / 365.4 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1489, allocations: 16.09 kB / 365.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.1494, allocations: 293.5 kB / 365.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.1495, allocations: 7.938 kB / 365.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1495, allocations: 3.938 kB / 365.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1495, allocations: 3.984 kB / 365.7 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1505, allocations: 0.6934 MB / 366.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1505, allocations: 0 / 366.4 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.1506, allocations: 20 kB / 366.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.1509, allocations: 76.8 kB / 366.5 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1509, allocations: 8 kB / 366.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.1528, allocations: 1.827 MB / 368.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1528, allocations: 0 / 368.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.1535, allocations: 447.9 kB / 368.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1536, allocations: 112.9 kB / 368.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.1537, allocations: 4 kB / 368.9 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.1538, allocations: 7.984 kB / 368.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1538, allocations: 15.98 kB / 368.9 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1539, allocations: 8 kB / 368.9 MB, free: 1.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.154, allocations: 131.5 kB / 369 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.154, allocations: 288 / 369 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005568/0.1545, allocations: 99.67 kB / 369.1 MB, free: 0.8516 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002341/0.1548, allocations: 131.2 kB / 369.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006618/0.1555, allocations: 358.3 kB / 369.6 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1555, allocations: 0 / 369.6 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.1558, allocations: 253.2 kB / 369.9 MB, free: 96 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1563, allocations: 23.97 kB / 369.9 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1798/0.336, allocations: 0.6985 MB / 370.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3363, allocations: 0.7625 MB / 371.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.3364, allocations: 21.5 kB / 371.4 MB, free: 24.51 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3365, allocations: 0.5938 kB / 371.4 MB, free: 24.51 MB / 302.1 MB Notification: Performance of Templates: time 0.007761/0.3442, allocations: 3.966 MB / 375.3 MB, free: 24.2 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches