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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001863, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 59.91 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2655, allocations: 50.55 MB / 408.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003243/0.2687, allocations: 2.056 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2699, allocations: 0.6544 MB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.27, allocations: 4 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.954e-05/0.2701, allocations: 19.78 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2702, allocations: 43.64 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.2706, allocations: 115.2 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2709, allocations: 179.3 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.271, allocations: 49.52 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.2712, allocations: 83.7 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.2714, allocations: 79.61 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.2714, allocations: 16 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.2715, allocations: 24 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.2715, allocations: 35.91 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.43e-05/0.2716, allocations: 87.52 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.2719, allocations: 182.2 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2719, allocations: 0 / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2719, allocations: 0 / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2719, allocations: 0 / 412.4 MB, free: 13.82 MB / 334.1 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.0008126/0.2728, allocations: 478.7 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2728, allocations: 8.031 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.2729, allocations: 46.73 kB / 413 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.2732, allocations: 48.81 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.2736, allocations: 232 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2736, allocations: 8.375 kB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2736, allocations: 4.375 kB / 413.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.2739, allocations: 159.2 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.274, allocations: 0 / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.274, allocations: 4 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.274, allocations: 8 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.2743, allocations: 95.88 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.2752, allocations: 0.5033 MB / 414 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.2756, allocations: 106.5 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2758, allocations: 68.83 kB / 414.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2758, allocations: 3.984 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.2758, allocations: 42.5 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.2758, allocations: 0 / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004992/0.2763, allocations: 145.9 kB / 414.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.241e-05/0.2764, allocations: 110.8 kB / 414.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.2766, allocations: 162.2 kB / 414.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2766, allocations: 25.7 kB / 414.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2768, allocations: 119.9 kB / 414.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.2768, allocations: 31.67 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.2769, allocations: 33.7 kB / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.277, allocations: 322.8 kB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2772, allocations: 39.98 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2773, allocations: 76.25 kB / 415.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2776, allocations: 106.6 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2776, allocations: 0 / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003417/0.278, allocations: 145.5 kB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.278, allocations: 10.97 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.278, allocations: 0 / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.278, allocations: 0 / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.2786, allocations: 87.84 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.2802, allocations: 1.5 MB / 417.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2804, allocations: 27.84 kB / 417.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2804, allocations: 4 kB / 417.2 MB, free: 8.684 MB / 334.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.2805, allocations: 129.8 kB / 417.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.2806, allocations: 7.953 kB / 417.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.2811, allocations: 163.2 kB / 417.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2811, allocations: 3.938 kB / 417.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.2811, allocations: 0 / 417.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2811, allocations: 3.984 kB / 417.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007656/0.2819, allocations: 464 kB / 417.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2819, allocations: 0 / 417.9 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.282, allocations: 19.98 kB / 417.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.2822, allocations: 36.86 kB / 418 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.2823, allocations: 0 / 418 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.2834, allocations: 1.402 MB / 419.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2834, allocations: 3.984 kB / 419.4 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.284, allocations: 289.1 kB / 419.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.2841, allocations: 97.02 kB / 419.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2842, allocations: 3.938 kB / 419.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2843, allocations: 16.05 kB / 419.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.2844, allocations: 8 kB / 419.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.2844, allocations: 7.984 kB / 419.8 MB, free: 5.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2845, allocations: 120.1 kB / 419.9 MB, free: 5.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2845, allocations: 3.938 kB / 419.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.2848, allocations: 43.89 kB / 419.9 MB, free: 5.629 MB / 334.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009429/0.2858, allocations: 0.8311 MB / 420.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.2865, allocations: 132.3 kB / 420.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2865, allocations: 4.125 kB / 420.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.2868, allocations: 162.6 kB / 421.1 MB, free: 4.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2871, allocations: 11.98 kB / 421.1 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.2903, allocations: 2.112 MB / 423.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.2907, allocations: 0.7158 MB / 423.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.2908, allocations: 12.55 kB / 423.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.2908, allocations: 35.42 kB / 424 MB, free: 1.453 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2909, allocations: 0 / 424 MB, free: 1.453 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.32, allocations: 3.381 MB / 427.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.63, allocations: 6.812 kB / 427.3 MB, free: 14.21 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches