Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001729/0.001734, allocations: 175.8 kB / 8.152 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001357/0.001356, allocations: 93.34 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.629e-05, allocations: 4 kB / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2587, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.374, allocations: 76.15 MB / 438 MB, free: 9.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.3743, allocations: 64.47 kB / 438 MB, free: 9.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01467/0.389, allocations: 2.828 MB / 440.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.389, allocations: 0 / 440.9 MB, free: 7.102 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009169/0.39, allocations: 430.1 kB / 441.3 MB, free: 6.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.39, allocations: 12.03 kB / 441.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.635e-05/0.3901, allocations: 17.5 kB / 441.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3904, allocations: 201.4 kB / 441.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3904, allocations: 8 kB / 441.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.3905, allocations: 7.375 kB / 441.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002607/0.3907, allocations: 63.98 kB / 441.6 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3911, allocations: 128 kB / 441.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3911, allocations: 3.906 kB / 441.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.3911, allocations: 0 / 441.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3911, allocations: 0 / 441.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3923, allocations: 483.8 kB / 442.2 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3925, allocations: 53.7 kB / 442.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3927, allocations: 56.77 kB / 442.3 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3928, allocations: 0 / 442.3 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3928, allocations: 30.56 kB / 442.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.3928, allocations: 0 / 442.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003277/0.3932, allocations: 92.02 kB / 442.4 MB, free: 5.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.3933, allocations: 106.8 kB / 442.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.3935, allocations: 132.1 kB / 442.7 MB, free: 5.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3935, allocations: 25.7 kB / 442.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.3936, allocations: 174.3 kB / 442.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3936, allocations: 31.55 kB / 442.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.3937, allocations: 0 / 442.9 MB, free: 4.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3938, allocations: 315.1 kB / 443.2 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.3939, allocations: 27.94 kB / 443.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3941, allocations: 65.14 kB / 443.3 MB, free: 4.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3942, allocations: 31.8 kB / 443.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3942, allocations: 7.938 kB / 443.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000317/0.3945, allocations: 105.6 kB / 443.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3946, allocations: 4 kB / 443.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3946, allocations: 3.984 kB / 443.4 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3946, allocations: 4 kB / 443.4 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3958, allocations: 83.92 kB / 443.5 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.3977, allocations: 1.328 MB / 444.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3981, allocations: 19.95 kB / 444.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.3981, allocations: 4.75 kB / 444.9 MB, free: 2.758 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.3982, allocations: 41.69 kB / 444.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.3983, allocations: 7.906 kB / 444.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.3988, allocations: 119.1 kB / 445 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.3989, allocations: 4 kB / 445 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3989, allocations: 6.141 kB / 445 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3989, allocations: 0 / 445 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.3998, allocations: 404.6 kB / 445.4 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3999, allocations: 5.625 kB / 445.4 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.4001, allocations: 23.98 kB / 445.5 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/0.4005, allocations: 40.86 kB / 445.5 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4006, allocations: 3.984 kB / 445.5 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4022, allocations: 1.233 MB / 446.7 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4022, allocations: 4.031 kB / 446.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006778/0.4029, allocations: 264.9 kB / 447 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.403, allocations: 92.86 kB / 447.1 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.4031, allocations: 4.734 kB / 447.1 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.4034, allocations: 15.98 kB / 447.1 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4035, allocations: 4 kB / 447.1 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.4035, allocations: 4.062 kB / 447.1 MB, free: 276 kB / 330.7 MB Notification: Performance of sort global known variables: time 0.000141/0.4036, allocations: 119.9 kB / 447.2 MB, free: 156 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004021/0.404, allocations: 35.84 kB / 447.3 MB, free: 120 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001964/0.4043, allocations: 107.3 kB / 447.4 MB, free: 0 / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.406, allocations: 156 kB / 447.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4061, allocations: 4 kB / 447.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.4065, allocations: 133.8 kB / 447.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.4067, allocations: 5.219 kB / 447.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.4093, allocations: 459.1 kB / 448.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.4098, allocations: 0.7386 MB / 448.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4098, allocations: 0 / 448.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of Templates: time 0.00565/0.4154, allocations: 2.18 MB / 451 MB, free: 12.28 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches