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.001237/0.001237, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.55 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08805, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00308/0.09117, allocations: 2.104 MB / 359 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.09226, allocations: 0.6506 MB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.09239, allocations: 4 kB / 359.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/0.09246, allocations: 11.86 kB / 359.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.0926, allocations: 39.75 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.09293, allocations: 95.33 kB / 359.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.09313, allocations: 179.2 kB / 360 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.09327, allocations: 49.5 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.09347, allocations: 75.66 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.09358, allocations: 83.66 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.09362, allocations: 8 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.09369, allocations: 16 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.09373, allocations: 27.91 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.831e-05/0.09381, allocations: 79.53 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.09402, allocations: 175.6 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.09403, allocations: 0 / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09404, allocations: 0 / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.09405, allocations: 0 / 360.5 MB, free: 10.82 MB / 302.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.000733/0.09478, allocations: 477 kB / 360.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.09483, allocations: 12.03 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.09489, allocations: 42.73 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.09528, allocations: 56.72 kB / 361 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.0955, allocations: 224 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09552, allocations: 8.375 kB / 361.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.09555, allocations: 4.375 kB / 361.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.09586, allocations: 160.2 kB / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.09588, allocations: 0 / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.09591, allocations: 4 kB / 361.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.09592, allocations: 4 kB / 361.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.09619, allocations: 95.88 kB / 361.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.09706, allocations: 0.5109 MB / 362 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.09737, allocations: 106.5 kB / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.09756, allocations: 64.81 kB / 362.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.09758, allocations: 0 / 362.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.09762, allocations: 50.44 kB / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.09763, allocations: 0 / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004532/0.09809, allocations: 137.7 kB / 362.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.09815, allocations: 110.8 kB / 362.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.0983, allocations: 167.9 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.09833, allocations: 25.7 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.0984, allocations: 119.8 kB / 362.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.09843, allocations: 27.55 kB / 362.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.09851, allocations: 33.7 kB / 362.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.09861, allocations: 318.8 kB / 363.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.09877, allocations: 43.98 kB / 363.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.09894, allocations: 80.19 kB / 363.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.0992, allocations: 94.58 kB / 363.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.09921, allocations: 0 / 363.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.09957, allocations: 149.4 kB / 363.5 MB, free: 7.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.09959, allocations: 8 kB / 363.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.0996, allocations: 4 kB / 363.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.09962, allocations: 4.031 kB / 363.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.1002, allocations: 87.84 kB / 363.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.1016, allocations: 1.402 MB / 365 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1018, allocations: 16.02 kB / 365.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1018, allocations: 8.156 kB / 365.1 MB, free: 5.797 MB / 302.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 9.607e-05/0.1019, allocations: 125.7 kB / 365.2 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.1019, allocations: 7.906 kB / 365.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.1024, allocations: 175 kB / 365.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1024, allocations: 0 / 365.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1024, allocations: 4 kB / 365.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1024, allocations: 0 / 365.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007358/0.1032, allocations: 467.9 kB / 365.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1032, allocations: 0 / 365.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1033, allocations: 23.98 kB / 365.9 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.1036, allocations: 40.7 kB / 365.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.1036, allocations: 3.984 kB / 365.9 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009418/0.1046, allocations: 1.296 MB / 367.2 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.1046, allocations: 4.156 kB / 367.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.1052, allocations: 300.9 kB / 367.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1052, allocations: 85 kB / 367.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1053, allocations: 4 kB / 367.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1054, allocations: 15.98 kB / 367.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1055, allocations: 4 kB / 367.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1055, allocations: 11.92 kB / 367.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.1056, allocations: 127.2 kB / 367.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1056, allocations: 0 / 367.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1059, allocations: 43.84 kB / 367.8 MB, free: 2.828 MB / 302.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.0008239/0.1067, allocations: 0.8194 MB / 368.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.1074, allocations: 132 kB / 368.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1074, allocations: 0 / 368.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1077, allocations: 166.5 kB / 368.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.108, allocations: 16 kB / 368.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1305/0.2385, allocations: 2.147 MB / 371.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2386, allocations: 0.7103 MB / 371.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.2388, allocations: 13.41 kB / 371.8 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.2388, allocations: 42.69 kB / 371.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2388, allocations: 0.6875 kB / 371.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.2643, allocations: 3.066 MB / 374.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.2645, allocations: 247.8 kB / 375.1 MB, free: 18.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.002, allocations: 1.375 kB / 375.1 MB, free: 18.02 MB / 302.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.0.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