Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 195.3 kB / 18.06 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000797/0.000797, allocations: 98.34 kB / 297.4 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000218/0.000218, allocations: 8 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1838, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08584/0.2697, allocations: 81.93 MB / 490.6 MB, free: 9.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.2699, allocations: 83.95 kB / 490.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01808/0.288, allocations: 7.285 MB / 498 MB, free: 2.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.288, allocations: 0 / 498 MB, free: 2.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.288, allocations: 12 kB / 498 MB, free: 2.266 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.0007777/0.2888, allocations: 0.5425 MB / 498.5 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2888, allocations: 8.031 kB / 498.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.289, allocations: 48.55 kB / 498.6 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2893, allocations: 272 kB / 498.8 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2894, allocations: 20.94 kB / 498.9 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.2894, allocations: 24.38 kB / 498.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.2899, allocations: 257.2 kB / 499.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2899, allocations: 0 / 499.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.2899, allocations: 12 kB / 499.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2899, allocations: 4 kB / 499.1 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.2904, allocations: 222.1 kB / 499.4 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.2918, allocations: 1.013 MB / 0.4887 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.2922, allocations: 210.5 kB / 0.4889 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.2924, allocations: 114.4 kB / 0.489 GB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2925, allocations: 8 kB / 0.489 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2925, allocations: 34.56 kB / 0.489 GB, free: 15.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 2.575e-06/0.2925, allocations: 3.984 kB / 0.489 GB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004586/0.2971, allocations: 1.486 MB / 0.4905 GB, free: 13.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2972, allocations: 59.34 kB / 0.4905 GB, free: 13.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2974, allocations: 232.9 kB / 0.4907 GB, free: 13.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2974, allocations: 29.7 kB / 0.4908 GB, free: 13.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.2975, allocations: 184.2 kB / 0.4909 GB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.2976, allocations: 118.3 kB / 0.4911 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.2976, allocations: 12 kB / 0.4911 GB, free: 13.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2977, allocations: 330.8 kB / 0.4914 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.298, allocations: 108 kB / 0.4915 GB, free: 12.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.2982, allocations: 161.4 kB / 0.4916 GB, free: 12.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.2987, allocations: 290.8 kB / 0.4919 GB, free: 12.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2987, allocations: 0 / 0.4919 GB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00153/0.3003, allocations: 0.5313 MB / 0.4924 GB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3003, allocations: 8 kB / 0.4924 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3003, allocations: 4 kB / 0.4924 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.3018, allocations: 249.5 kB / 0.4927 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.302, allocations: 59.91 kB / 0.4927 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.3062, allocations: 3.736 MB / 0.4964 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3064, allocations: 16.3 kB / 0.4964 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3065, allocations: 12 kB / 0.4964 GB, free: 7.27 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.0001595/0.3066, allocations: 153.4 kB / 0.4966 GB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.3067, allocations: 31.56 kB / 0.4966 GB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.3068, allocations: 38.95 kB / 0.4966 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3068, allocations: 8.062 kB / 0.4966 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3068, allocations: 3.938 kB / 0.4966 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3068, allocations: 7.984 kB / 0.4966 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.3088, allocations: 0.9455 MB / 0.4976 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3089, allocations: 3.984 kB / 0.4976 GB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.3091, allocations: 31.98 kB / 0.4976 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.3104, allocations: 257.4 kB / 0.4979 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3105, allocations: 15.92 kB / 0.4979 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.3145, allocations: 3.725 MB / 0.5015 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3145, allocations: 4.031 kB / 0.5015 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3162, allocations: 0.7162 MB / 0.5022 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.3163, allocations: 100.8 kB / 0.5023 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.3164, allocations: 16.22 kB / 0.5023 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.3166, allocations: 16.05 kB / 0.5023 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.3167, allocations: 31.91 kB / 0.5024 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.3167, allocations: 11.92 kB / 0.5024 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3168, allocations: 168.4 kB / 0.5025 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3168, allocations: 0 / 0.5025 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000556/0.3174, allocations: 104 kB / 0.5026 GB, free: 0.5117 MB / 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.0001541/0.3176, allocations: 119.2 kB / 0.5027 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1405/0.4581, allocations: 0.5472 MB / 0.5033 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.4582, allocations: 0.9062 kB / 0.5033 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.4588, allocations: 426.4 kB / 0.5037 GB, free: 96.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4592, allocations: 29.61 kB / 0.5037 GB, free: 96.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.4606, allocations: 0.8667 MB / 0.5046 GB, free: 96.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.4608, allocations: 0.7767 MB / 0.5053 GB, free: 95.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.4609, allocations: 21.25 kB / 0.5053 GB, free: 95.7 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4609, allocations: 0 / 0.5053 GB, free: 95.7 MB / 378.7 MB Notification: Performance of Templates: time 0.007497/0.4684, allocations: 6.001 MB / 0.5112 GB, free: 95.22 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches