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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002739/0.002745, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.62/3.62, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00179/0.001789, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006246, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.263, allocations: 47.57 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.004064/0.2671, allocations: 1.616 MB / 376.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.2691, allocations: 0.5624 MB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2693, allocations: 4 kB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.633e-05/0.2694, allocations: 11.91 kB / 376.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.2696, allocations: 51.78 kB / 376.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.2703, allocations: 79.83 kB / 376.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.2706, allocations: 119.8 kB / 377 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2709, allocations: 33.47 kB / 377 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.2712, allocations: 67.77 kB / 377.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.2714, allocations: 67.73 kB / 377.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.2714, allocations: 12 kB / 377.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.2715, allocations: 8 kB / 377.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.2716, allocations: 27.84 kB / 377.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.2717, allocations: 53.58 kB / 377.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.272, allocations: 123.9 kB / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.272, allocations: 0 / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2721, allocations: 0 / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2721, allocations: 0 / 377.4 MB, free: 12.59 MB / 282.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.001444/0.2735, allocations: 450.7 kB / 377.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.2736, allocations: 8.031 kB / 377.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.2738, allocations: 11.91 kB / 377.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2741, allocations: 190.9 kB / 378 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.2742, allocations: 11.95 kB / 378 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.2743, allocations: 11.94 kB / 378 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007627/0.275, allocations: 152 kB / 378.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2751, allocations: 0 / 378.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.2751, allocations: 4 kB / 378.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2752, allocations: 4 kB / 378.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.2759, allocations: 99.94 kB / 378.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.278, allocations: 0.5109 MB / 378.8 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.2789, allocations: 114.5 kB / 378.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.279, allocations: 0 / 378.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.279, allocations: 34.52 kB / 378.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.2791, allocations: 0 / 378.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0012/0.2803, allocations: 157.5 kB / 379.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2804, allocations: 106.8 kB / 379.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.2807, allocations: 154.1 kB / 379.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2808, allocations: 29.7 kB / 379.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.281, allocations: 190.3 kB / 379.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.128e-05/0.2811, allocations: 27.66 kB / 379.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.2811, allocations: 0 / 379.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2813, allocations: 318.8 kB / 379.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.2818, allocations: 35.98 kB / 379.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2822, allocations: 92.19 kB / 380 MB, free: 9.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2827, allocations: 43.98 kB / 380.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2827, allocations: 0 / 380.1 MB, free: 9.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0009276/0.2836, allocations: 153.5 kB / 380.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.2837, allocations: 7.953 kB / 380.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2837, allocations: 0 / 380.2 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/0.2838, allocations: 4 kB / 380.2 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.2853, allocations: 87.89 kB / 380.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.2883, allocations: 1.409 MB / 381.7 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.2889, allocations: 23.86 kB / 381.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.2889, allocations: 8 kB / 381.8 MB, free: 7.797 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 0.0002409/0.2892, allocations: 126 kB / 381.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.2893, allocations: 11.86 kB / 381.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.2906, allocations: 163.5 kB / 382.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.2906, allocations: 8.031 kB / 382.1 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2906, allocations: 4 kB / 382.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2907, allocations: 0 / 382.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.2913, allocations: 225.6 kB / 382.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2913, allocations: 0 / 382.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.2917, allocations: 31.88 kB / 382.3 MB, free: 7.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.2923, allocations: 36.83 kB / 382.3 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.2923, allocations: 4 kB / 382.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.2947, allocations: 1.3 MB / 383.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.2948, allocations: 8.062 kB / 383.7 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.2964, allocations: 304.3 kB / 384 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2966, allocations: 88.91 kB / 384 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.2967, allocations: 7.969 kB / 384.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.2971, allocations: 24.05 kB / 384.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.2972, allocations: 0 / 384.1 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.2973, allocations: 7.984 kB / 384.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.2975, allocations: 111.3 kB / 384.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2975, allocations: 0 / 384.2 MB, free: 5.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000731/0.2983, allocations: 39.98 kB / 384.2 MB, free: 5.078 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (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.0002454/0.2986, allocations: 99.25 kB / 384.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3004, allocations: 147.8 kB / 384.5 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.3005, allocations: 4 kB / 384.5 MB, free: 4.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.3013, allocations: 162.7 kB / 384.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3018, allocations: 15.94 kB / 384.7 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.3061, allocations: 0.6271 MB / 385.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3066, allocations: 0.7198 MB / 386 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3067, allocations: 19.42 kB / 386 MB, free: 3.215 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3068, allocations: 4 kB / 386 MB, free: 3.211 MB / 282.7 MB Notification: Performance of Templates: time 0.009211/0.316, allocations: 2.138 MB / 388.2 MB, free: 1.07 MB / 282.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