Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009303/0.0009304, allocations: 201.2 kB / 18.1 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000743/0.0007429, allocations: 90.62 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 7.984 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1932, allocations: 51.28 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08848/0.2818, allocations: 81.88 MB / 491.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.282, allocations: 87.89 kB / 491.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02844/0.3105, allocations: 12.07 MB / 0.4916 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3105, allocations: 4 kB / 0.4916 GB, free: 13.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.3105, allocations: 4 kB / 0.4916 GB, free: 13.34 MB / 378.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.001247/0.3118, allocations: 0.624 MB / 0.4922 GB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3118, allocations: 8.031 kB / 0.4922 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006795/0.3125, allocations: 104.5 kB / 0.4923 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.3128, allocations: 256.6 kB / 0.4926 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3129, allocations: 29.03 kB / 0.4926 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/0.3129, allocations: 28.38 kB / 0.4926 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.3135, allocations: 333.6 kB / 0.493 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3135, allocations: 3.938 kB / 0.493 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.3135, allocations: 12 kB / 0.493 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3136, allocations: 15.98 kB / 0.493 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.314, allocations: 242.5 kB / 0.4932 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.316, allocations: 1.447 MB / 0.4946 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.3167, allocations: 0.6993 MB / 0.4953 GB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3169, allocations: 101.4 kB / 0.4954 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.3171, allocations: 170.2 kB / 0.4956 GB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3171, allocations: 34.56 kB / 0.4956 GB, free: 8.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.294e-06/0.3171, allocations: 3.938 kB / 0.4956 GB, free: 8.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.00119/0.3183, allocations: 0.4944 MB / 0.4961 GB, free: 8.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3184, allocations: 55.41 kB / 0.4961 GB, free: 8.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3185, allocations: 175.2 kB / 0.4963 GB, free: 8.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3186, allocations: 33.7 kB / 0.4963 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.3187, allocations: 172 kB / 0.4965 GB, free: 7.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/0.3187, allocations: 78.91 kB / 0.4966 GB, free: 7.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.3188, allocations: 4 kB / 0.4966 GB, free: 7.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3189, allocations: 330.8 kB / 0.4969 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.319, allocations: 68.47 kB / 0.497 GB, free: 7.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3192, allocations: 128.1 kB / 0.4971 GB, free: 7.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.3194, allocations: 203.2 kB / 0.4973 GB, free: 7.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3195, allocations: 0 / 0.4973 GB, free: 7.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005483/0.32, allocations: 320.7 kB / 0.4976 GB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.32, allocations: 11.98 kB / 0.4976 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.32, allocations: 0 / 0.4976 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.3204, allocations: 72.81 kB / 0.4977 GB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3205, allocations: 39.92 kB / 0.4977 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.3224, allocations: 1.843 MB / 0.4995 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3226, allocations: 23.78 kB / 0.4995 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3226, allocations: 12 kB / 0.4995 GB, free: 4.578 MB / 378.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.000168/0.3228, allocations: 145.7 kB / 0.4997 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.3228, allocations: 19.72 kB / 0.4997 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.3233, allocations: 284.1 kB / 0.5 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.3234, allocations: 4 kB / 0.5 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3234, allocations: 4.219 kB / 0.5 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3234, allocations: 7.984 kB / 0.5 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.3244, allocations: 0.6872 MB / 0.5007 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3244, allocations: 3.938 kB / 0.5007 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3245, allocations: 27.92 kB / 0.5007 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.3247, allocations: 76.8 kB / 0.5008 GB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3247, allocations: 4 kB / 0.5008 GB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.3264, allocations: 1.827 MB / 0.5026 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3265, allocations: 0 / 0.5026 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.3271, allocations: 455.8 kB / 0.503 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.3272, allocations: 108.8 kB / 0.5031 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3272, allocations: 11.94 kB / 0.5031 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3273, allocations: 4 kB / 0.5031 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.3274, allocations: 19.97 kB / 0.5031 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3274, allocations: 8 kB / 0.5031 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.721e-05/0.3275, allocations: 127.5 kB / 0.5033 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3275, allocations: 4.062 kB / 0.5033 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.328, allocations: 99.78 kB / 0.5034 GB, free: 436 kB / 378.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.0002161/0.3282, allocations: 155.1 kB / 0.5035 GB, free: 272 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1403/0.4685, allocations: 336.7 kB / 0.5038 GB, free: 92.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4686, allocations: 0 / 0.5038 GB, free: 92.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.469, allocations: 246.8 kB / 0.5041 GB, free: 92.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.4694, allocations: 23.22 kB / 0.5041 GB, free: 92.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4705, allocations: 0.7198 MB / 0.5048 GB, free: 92.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.4707, allocations: 0.7578 MB / 0.5055 GB, free: 91.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.4708, allocations: 21.69 kB / 0.5055 GB, free: 91.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.4709, allocations: 16.33 kB / 0.5056 GB, free: 91.68 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4709, allocations: 0.8125 kB / 0.5056 GB, free: 91.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005651/0.4765, allocations: 2.552 MB / 0.5081 GB, free: 91.54 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches