Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 197 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007543/0.0007544, allocations: 102.1 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 4 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.223, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09271/0.3157, allocations: 81.93 MB / 491.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.316, allocations: 84.52 kB / 491.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.3358, allocations: 7.278 MB / 498.7 MB, free: 2.191 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3358, allocations: 0 / 498.7 MB, free: 2.191 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.3358, allocations: 4 kB / 498.7 MB, free: 2.188 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009645/0.3368, allocations: 0.5503 MB / 499.2 MB, free: 1.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3369, allocations: 8.031 kB / 499.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3371, allocations: 48.48 kB / 499.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3374, allocations: 276 kB / 499.5 MB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3375, allocations: 24.94 kB / 499.6 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.3376, allocations: 24.38 kB / 499.6 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.3381, allocations: 253.2 kB / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3381, allocations: 0 / 499.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3381, allocations: 12 kB / 499.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3381, allocations: 8 kB / 499.9 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.3386, allocations: 218.1 kB / 0.4884 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.3403, allocations: 1.017 MB / 0.4894 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.3407, allocations: 208.1 kB / 0.4895 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.341, allocations: 116.8 kB / 0.4897 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.341, allocations: 4 kB / 0.4897 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3411, allocations: 34.56 kB / 0.4897 GB, free: 15.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.3411, allocations: 0 / 0.4897 GB, free: 15.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004785/0.3459, allocations: 1.491 MB / 0.4912 GB, free: 13.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.3459, allocations: 59.34 kB / 0.4912 GB, free: 13.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3462, allocations: 236.9 kB / 0.4914 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.3462, allocations: 33.7 kB / 0.4915 GB, free: 13.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.3463, allocations: 180.2 kB / 0.4916 GB, free: 13.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.3464, allocations: 118.3 kB / 0.4918 GB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.3464, allocations: 4 kB / 0.4918 GB, free: 12.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3465, allocations: 338.8 kB / 0.4921 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3468, allocations: 104 kB / 0.4922 GB, free: 12.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.3471, allocations: 161.4 kB / 0.4923 GB, free: 12.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.3476, allocations: 290.9 kB / 0.4926 GB, free: 12.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3476, allocations: 3.938 kB / 0.4926 GB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001566/0.3492, allocations: 0.5275 MB / 0.4931 GB, free: 11.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3492, allocations: 8 kB / 0.4931 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3492, allocations: 3.984 kB / 0.4931 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.3507, allocations: 249.5 kB / 0.4934 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3509, allocations: 55.91 kB / 0.4934 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004529/0.3555, allocations: 3.744 MB / 0.4971 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3558, allocations: 16.03 kB / 0.4971 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3558, allocations: 12 kB / 0.4971 GB, free: 7.176 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (28): * Single equations (assignments): 26 * 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: 2 * 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: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.356, allocations: 145.8 kB / 0.4973 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.3561, allocations: 39.67 kB / 0.4973 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.3562, allocations: 34.97 kB / 0.4973 GB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3562, allocations: 4 kB / 0.4973 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3562, allocations: 3.938 kB / 0.4973 GB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3562, allocations: 3.984 kB / 0.4973 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.3582, allocations: 0.9494 MB / 0.4983 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3583, allocations: 4 kB / 0.4983 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3585, allocations: 36.3 kB / 0.4983 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.3598, allocations: 257.3 kB / 0.4985 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3598, allocations: 11.94 kB / 0.4986 GB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.364, allocations: 3.721 MB / 0.5022 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.3641, allocations: 8.031 kB / 0.5022 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3658, allocations: 0.7278 MB / 0.5029 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.3659, allocations: 100.9 kB / 0.503 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.366, allocations: 11.94 kB / 0.503 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3662, allocations: 20.05 kB / 0.503 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.3663, allocations: 31.95 kB / 0.5031 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.3663, allocations: 8 kB / 0.5031 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.3665, allocations: 160.5 kB / 0.5032 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3665, allocations: 3.938 kB / 0.5032 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.3671, allocations: 108 kB / 0.5033 GB, free: 424 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * 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 (18): * Single equations (assignments): 16 * 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: 2 * 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: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.3673, allocations: 115.2 kB / 0.5034 GB, free: 296 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1639/0.5312, allocations: 0.5499 MB / 0.504 GB, free: 96.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.5313, allocations: 2.062 kB / 0.504 GB, free: 96.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.5319, allocations: 423.6 kB / 0.5044 GB, free: 96.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.5324, allocations: 31.55 kB / 0.5044 GB, free: 96.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.5338, allocations: 0.83 MB / 0.5052 GB, free: 96.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.5341, allocations: 0.7811 MB / 0.506 GB, free: 95.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.5343, allocations: 17.05 kB / 0.506 GB, free: 95.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.5343, allocations: 17.19 kB / 0.506 GB, free: 95.51 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5343, allocations: 0.8125 kB / 0.506 GB, free: 95.51 MB / 378.7 MB Notification: Performance of Templates: time 0.01025/0.5446, allocations: 5.281 MB / 0.5112 GB, free: 95.29 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches