Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 182 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007402/0.0007403, allocations: 91.84 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 15.94 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2091, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08587/0.295, allocations: 79.94 MB / 455.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.2953, allocations: 91.92 kB / 455.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02513/0.3205, allocations: 11.15 MB / 466.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3205, allocations: 0 / 466.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.3205, allocations: 4 kB / 466.9 MB, free: 5.289 MB / 346.7 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.001311/0.3218, allocations: 0.6201 MB / 467.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3219, allocations: 12.03 kB / 467.5 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/0.3226, allocations: 104.5 kB / 467.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.323, allocations: 260.6 kB / 467.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.323, allocations: 29.03 kB / 467.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.3231, allocations: 28.38 kB / 468 MB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.3236, allocations: 333.6 kB / 468.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3237, allocations: 7.938 kB / 468.3 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.3237, allocations: 12 kB / 468.3 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3237, allocations: 8 kB / 468.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.3241, allocations: 242.5 kB / 468.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.3262, allocations: 1.456 MB / 470 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.3268, allocations: 0.7005 MB / 470.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.327, allocations: 103.3 kB / 470.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3271, allocations: 85.05 kB / 470.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3271, allocations: 38.56 kB / 470.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.265e-06/0.3271, allocations: 0 / 470.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0012/0.3283, allocations: 499.3 kB / 471.4 MB, free: 392 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3284, allocations: 55.41 kB / 471.5 MB, free: 324 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3286, allocations: 175.2 kB / 471.6 MB, free: 132 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3286, allocations: 29.7 kB / 471.7 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3287, allocations: 172 kB / 471.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.3288, allocations: 86.83 kB / 471.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.3288, allocations: 8 kB / 471.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3289, allocations: 330.8 kB / 472.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3291, allocations: 60.55 kB / 472.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.3292, allocations: 123.3 kB / 472.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3295, allocations: 204.2 kB / 472.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3295, allocations: 0 / 472.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005453/0.3301, allocations: 328.5 kB / 473 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3301, allocations: 4 kB / 473 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3301, allocations: 0 / 473 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.3304, allocations: 84.91 kB / 473 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3306, allocations: 39.92 kB / 473.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.3324, allocations: 1.831 MB / 474.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3326, allocations: 27.72 kB / 474.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3326, allocations: 12 kB / 474.9 MB, free: 12.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.3328, allocations: 145.8 kB / 475.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.3328, allocations: 19.72 kB / 475.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.3334, allocations: 284.7 kB / 475.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3334, allocations: 7.984 kB / 475.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3334, allocations: 7.938 kB / 475.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3334, allocations: 4 kB / 475.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.3344, allocations: 0.6939 MB / 476.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3344, allocations: 0 / 476.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3345, allocations: 23.98 kB / 476.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.3348, allocations: 84.73 kB / 476.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3348, allocations: 4.219 kB / 476.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.3366, allocations: 1.842 MB / 478.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3366, allocations: 0 / 478.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.3372, allocations: 440.8 kB / 478.5 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3374, allocations: 112.9 kB / 478.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3374, allocations: 7.938 kB / 478.6 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3375, allocations: 4 kB / 478.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.3376, allocations: 23.97 kB / 478.6 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3376, allocations: 4.062 kB / 478.6 MB, free: 8.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.3377, allocations: 127.2 kB / 478.8 MB, free: 8.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3377, allocations: 3.938 kB / 478.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.3382, allocations: 103.7 kB / 478.9 MB, free: 8.453 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002417/0.3384, allocations: 123.2 kB / 479 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.3391, allocations: 339.3 kB / 479.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3391, allocations: 3.938 kB / 479.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.3394, allocations: 246.8 kB / 479.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3398, allocations: 24 kB / 479.6 MB, free: 7.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3409, allocations: 0.7607 MB / 480.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3412, allocations: 0.7558 MB / 481.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.3412, allocations: 15.72 kB / 481.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3412, allocations: 0 / 481.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of Templates: time 0.005585/0.3468, allocations: 3.942 MB / 485.1 MB, free: 2.168 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_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/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches