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.001087/0.001087, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001074/0.001074, allocations: 187.3 kB / 18.51 MB, free: 4.527 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.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.09831, allocations: 49.45 MB / 350.8 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004107/0.1025, allocations: 2.827 MB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1043, allocations: 1.149 MB / 354.7 MB, free: 424 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1044, allocations: 8 kB / 354.7 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1059, allocations: 0.6248 MB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.1063, allocations: 135 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.1076, allocations: 0.6726 MB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.108, allocations: 298.6 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004464/0.1084, allocations: 267.1 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1086, allocations: 127.5 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.1088, allocations: 171.3 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.1089, allocations: 24 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.1093, allocations: 175.9 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.1093, allocations: 63.77 kB / 357.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1095, allocations: 151.3 kB / 357.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.1101, allocations: 498.5 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1101, allocations: 7.938 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1101, allocations: 0 / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1101, allocations: 0 / 357.9 MB, free: 13.23 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.00157/0.1117, allocations: 0.7138 MB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1118, allocations: 12.03 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.1126, allocations: 120.5 kB / 358.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1129, allocations: 260.5 kB / 359 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1129, allocations: 28.97 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.113, allocations: 32.38 kB / 359.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.1135, allocations: 340.9 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1135, allocations: 0 / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.1136, allocations: 16 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1136, allocations: 8 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.1141, allocations: 234.5 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.116, allocations: 1.459 MB / 361.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.1167, allocations: 0.6888 MB / 361.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1169, allocations: 104.8 kB / 361.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-05/0.117, allocations: 85.05 kB / 362 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.117, allocations: 46.5 kB / 362 MB, free: 8.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.117, allocations: 3.984 kB / 362 MB, free: 8.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001249/0.1183, allocations: 491 kB / 362.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1183, allocations: 51.41 kB / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.1185, allocations: 177.1 kB / 362.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1185, allocations: 29.7 kB / 362.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1186, allocations: 184 kB / 362.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.1187, allocations: 82.75 kB / 363 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.1188, allocations: 49.98 kB / 363.1 MB, free: 7.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1189, allocations: 326.8 kB / 363.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.119, allocations: 72.47 kB / 363.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1192, allocations: 133 kB / 363.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1195, allocations: 228.9 kB / 363.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1195, allocations: 0 / 363.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005536/0.1201, allocations: 319.6 kB / 364.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1201, allocations: 8 kB / 364.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1201, allocations: 8.203 kB / 364.1 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.1204, allocations: 80.69 kB / 364.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.1206, allocations: 43.92 kB / 364.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.1226, allocations: 2.037 MB / 366.3 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1228, allocations: 23.69 kB / 366.3 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.1228, allocations: 16 kB / 366.3 MB, free: 4.125 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.0001587/0.123, allocations: 149.7 kB / 366.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1231, allocations: 23.81 kB / 366.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.1236, allocations: 276 kB / 366.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1237, allocations: 0 / 366.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1237, allocations: 4 kB / 366.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1237, allocations: 0 / 366.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.1246, allocations: 0.7016 MB / 367.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1247, allocations: 4 kB / 367.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1248, allocations: 23.98 kB / 367.5 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.125, allocations: 77.08 kB / 367.6 MB, free: 2.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1251, allocations: 7.938 kB / 367.6 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.1272, allocations: 2.022 MB / 369.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1272, allocations: 0 / 369.6 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.1279, allocations: 449.3 kB / 370.1 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.738e-05/0.128, allocations: 116.9 kB / 370.2 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.128, allocations: 8 kB / 370.2 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1281, allocations: 128 / 370.2 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.1282, allocations: 23.97 kB / 370.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1282, allocations: 4 kB / 370.2 MB, free: 4 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1628/0.291, allocations: 122.6 kB / 370.3 MB, free: 25.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.291, allocations: 0 / 370.3 MB, free: 25.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007239/0.2918, allocations: 96.66 kB / 370.4 MB, free: 25.36 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.000249/0.292, allocations: 123.5 kB / 370.5 MB, free: 25.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.2927, allocations: 361.5 kB / 370.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2928, allocations: 0 / 370.9 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.2931, allocations: 250.1 kB / 371.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2935, allocations: 21.75 kB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2945, allocations: 0.5945 MB / 371.8 MB, free: 24.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2947, allocations: 0.759 MB / 372.5 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.2948, allocations: 18.52 kB / 372.5 MB, free: 24.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2948, allocations: 0.6875 kB / 372.5 MB, free: 24.05 MB / 302.1 MB Notification: Performance of Templates: time 0.006534/0.3013, allocations: 3.983 MB / 376.5 MB, free: 23.73 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