Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.0007678, allocations: 101 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.799e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08748, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.3796, allocations: 78.48 MB / 473.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.3799, allocations: 69 kB / 473.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009093/0.389, allocations: 3.355 MB / 477.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.389, allocations: 0 / 477.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.389, allocations: 8 kB / 477.1 MB, free: 11.41 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004635/0.3895, allocations: 421.9 kB / 477.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3895, allocations: 13.62 kB / 477.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.3899, allocations: 56.81 kB / 477.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.39, allocations: 194.8 kB / 477.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.39, allocations: 4 kB / 477.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.3901, allocations: 8.047 kB / 477.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001372/0.3902, allocations: 64.48 kB / 477.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3904, allocations: 125 kB / 477.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3904, allocations: 4 kB / 477.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.3904, allocations: 3.938 kB / 477.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3904, allocations: 0 / 477.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.3912, allocations: 491.1 kB / 478.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3913, allocations: 68.25 kB / 478.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.949e-05/0.3914, allocations: 58.34 kB / 478.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3915, allocations: 3.25 kB / 478.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3915, allocations: 38.45 kB / 478.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3915, allocations: 0 / 478.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001841/0.3917, allocations: 87 kB / 478.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.3917, allocations: 106.8 kB / 478.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.3918, allocations: 137.3 kB / 478.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3918, allocations: 25.7 kB / 478.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.3919, allocations: 123 kB / 479.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3919, allocations: 26.33 kB / 479.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.3919, allocations: 0 / 479.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.392, allocations: 323.5 kB / 479.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.392, allocations: 23.91 kB / 479.4 MB, free: 9.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.3921, allocations: 63.66 kB / 479.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.244e-05/0.3921, allocations: 38.34 kB / 479.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3921, allocations: 0 / 479.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001509/0.3923, allocations: 112.6 kB / 479.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3923, allocations: 4 kB / 479.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3923, allocations: 4 kB / 479.6 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3923, allocations: 3.953 kB / 479.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.3929, allocations: 85.02 kB / 479.7 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008773/0.3938, allocations: 1.32 MB / 481 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.394, allocations: 23.86 kB / 481.1 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.394, allocations: 5.359 kB / 481.1 MB, free: 7.59 MB / 346.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 6.009e-05/0.3941, allocations: 113 kB / 481.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3941, allocations: 15.16 kB / 481.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3944, allocations: 122.8 kB / 481.3 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3944, allocations: 4 kB / 481.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.3944, allocations: 0 / 481.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3944, allocations: 1.969 kB / 481.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.3949, allocations: 409.1 kB / 481.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3949, allocations: 0 / 481.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.395, allocations: 28.48 kB / 481.8 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.3952, allocations: 36.44 kB / 481.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3953, allocations: 8.031 kB / 481.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006371/0.3959, allocations: 1.232 MB / 483 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3959, allocations: 4.062 kB / 483 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3962, allocations: 261.8 kB / 483.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.3963, allocations: 94.11 kB / 483.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3963, allocations: 3.562 kB / 483.4 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3965, allocations: 20.61 kB / 483.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3965, allocations: 7.281 kB / 483.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3965, allocations: 0 / 483.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.3966, allocations: 110.4 kB / 483.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3966, allocations: 0 / 483.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002957/0.3969, allocations: 43.44 kB / 483.6 MB, free: 5.18 MB / 346.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.0001132/0.397, allocations: 116.3 kB / 483.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.3975, allocations: 109.5 kB / 483.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3976, allocations: 1.969 kB / 483.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3977, allocations: 138.4 kB / 483.9 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3979, allocations: 13.36 kB / 483.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.399, allocations: 428.1 kB / 484.4 MB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3992, allocations: 0.7157 MB / 485.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.947e-05/0.3993, allocations: 16.55 kB / 485.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.3993, allocations: 15.44 kB / 485.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3993, allocations: 0 / 485.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of Templates: time 0.003585/0.4029, allocations: 1.333 MB / 486.4 MB, free: 2.449 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches