Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001597/0.001597, allocations: 107.8 kB / 17.16 MB, free: 6.312 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.001445/0.001445, allocations: 194 kB / 18.08 MB, free: 5.406 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.52 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.001187/0.001187, allocations: 55.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09134, allocations: 46.62 MB / 326.6 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004027/0.09541, allocations: 2.737 MB / 329.4 MB, free: 2.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.0974, allocations: 1.181 MB / 330.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.09759, allocations: 8 kB / 330.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.09911, allocations: 0.5954 MB / 331.1 MB, free: 336 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.09947, allocations: 111.3 kB / 331.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1007, allocations: 0.6502 MB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003774/0.1011, allocations: 278.6 kB / 332.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.1016, allocations: 247.3 kB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1017, allocations: 123.5 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1019, allocations: 163.4 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.102, allocations: 20 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.1023, allocations: 175.8 kB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.1024, allocations: 55.77 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1025, allocations: 139.3 kB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.103, allocations: 490.7 kB / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1031, allocations: 0 / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1031, allocations: 0 / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1031, allocations: 4 kB / 333.6 MB, free: 13.91 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001643/0.1047, allocations: 0.7255 MB / 334.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.1048, allocations: 8.031 kB / 334.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.1056, allocations: 116.6 kB / 334.4 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1059, allocations: 260.4 kB / 334.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1059, allocations: 29.03 kB / 334.7 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.106, allocations: 32.38 kB / 334.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.1065, allocations: 333 kB / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1066, allocations: 0 / 335 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.1066, allocations: 15.88 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1066, allocations: 8 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.107, allocations: 242.5 kB / 335.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.1089, allocations: 1.455 MB / 336.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.1096, allocations: 0.6964 MB / 337.5 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1097, allocations: 104.8 kB / 337.6 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.602e-05/0.1098, allocations: 89.03 kB / 337.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1099, allocations: 42.56 kB / 337.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.1099, allocations: 0 / 337.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001175/0.1111, allocations: 491.3 kB / 338.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1111, allocations: 55.41 kB / 338.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1113, allocations: 171.3 kB / 338.4 MB, free: 8.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1113, allocations: 29.7 kB / 338.4 MB, free: 8.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1114, allocations: 183.9 kB / 338.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.1115, allocations: 82.83 kB / 338.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.1116, allocations: 57.83 kB / 338.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1117, allocations: 330.8 kB / 339.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1118, allocations: 64.55 kB / 339.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.112, allocations: 136.1 kB / 339.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.1123, allocations: 217 kB / 339.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1123, allocations: 0 / 339.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005438/0.1128, allocations: 331.5 kB / 339.8 MB, free: 7.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1128, allocations: 4 kB / 339.8 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1129, allocations: 4.219 kB / 339.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.1132, allocations: 76.75 kB / 339.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1133, allocations: 43.97 kB / 339.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1151, allocations: 1.831 MB / 341.7 MB, free: 5.051 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.1152, allocations: 27.69 kB / 341.8 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1153, allocations: 12 kB / 341.8 MB, free: 5.012 MB / 286.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.0001342/0.1154, allocations: 141.9 kB / 341.9 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.1154, allocations: 23.73 kB / 341.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.116, allocations: 284.3 kB / 342.2 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.116, allocations: 11.94 kB / 342.2 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.116, allocations: 4 kB / 342.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.116, allocations: 3.938 kB / 342.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.117, allocations: 0.691 MB / 342.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.117, allocations: 0 / 342.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1171, allocations: 27.92 kB / 343 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002391/0.1174, allocations: 72.81 kB / 343 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1174, allocations: 11.98 kB / 343 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.1192, allocations: 1.827 MB / 344.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1192, allocations: 0 / 344.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.1199, allocations: 455.9 kB / 345.3 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.12, allocations: 112.9 kB / 345.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.12, allocations: 0 / 345.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1202, allocations: 4 kB / 345.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.1202, allocations: 23.97 kB / 345.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1202, allocations: 4 kB / 345.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1203, allocations: 127.3 kB / 345.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1204, allocations: 0 / 345.6 MB, free: 0.957 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.1208, allocations: 99.97 kB / 345.7 MB, free: 0.8594 MB / 286.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.0002077/0.121, allocations: 111.2 kB / 345.8 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.1216, allocations: 354.2 kB / 346.1 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1216, allocations: 3.938 kB / 346.1 MB, free: 388 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.122, allocations: 246.5 kB / 346.4 MB, free: 128 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1223, allocations: 16.44 kB / 346.4 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1234, allocations: 0.6967 MB / 347.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1237, allocations: 0.7558 MB / 347.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1238, allocations: 17.95 kB / 347.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1239, allocations: 27.44 kB / 347.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1239, allocations: 0 / 347.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Templates: time 0.005702/0.1296, allocations: 2.443 MB / 350.3 MB, free: 12.12 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches