Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003179/0.003179, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.302/2.302, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 43.73 kB / 300.6 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1925, allocations: 49.45 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.006919/0.1995, allocations: 2.067 MB / 352.1 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2017, allocations: 0.565 MB / 352.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.2019, allocations: 4 kB / 352.7 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2022, allocations: 15.91 kB / 352.7 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.2026, allocations: 35.7 kB / 352.8 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.2033, allocations: 90.28 kB / 352.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005774/0.2038, allocations: 175.2 kB / 353 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.2041, allocations: 41.45 kB / 353.1 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.2045, allocations: 71.72 kB / 353.1 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.2048, allocations: 75.67 kB / 353.2 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.2048, allocations: 15.94 kB / 353.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.765e-05/0.2049, allocations: 12 kB / 353.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.205, allocations: 27.91 kB / 353.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2052, allocations: 71.66 kB / 353.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2055, allocations: 127.9 kB / 353.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.2055, allocations: 4 kB / 353.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2055, allocations: 4 kB / 353.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2055, allocations: 0 / 353.5 MB, free: 1.441 MB / 286.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.001476/0.207, allocations: 469.2 kB / 353.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.195e-05/0.2071, allocations: 12.03 kB / 353.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2073, allocations: 16.75 kB / 353.9 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.2076, allocations: 196.1 kB / 354.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2077, allocations: 8.375 kB / 354.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.2077, allocations: 8.375 kB / 354.1 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.2083, allocations: 168.3 kB / 354.3 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2084, allocations: 0 / 354.3 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2084, allocations: 0 / 354.3 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.2084, allocations: 4 kB / 354.3 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.2089, allocations: 99.39 kB / 354.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2107, allocations: 0.5149 MB / 354.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.2112, allocations: 102.4 kB / 355 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.2115, allocations: 72.83 kB / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2115, allocations: 0 / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.2116, allocations: 34.5 kB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.2116, allocations: 4 kB / 355.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007641/0.2124, allocations: 145.9 kB / 355.3 MB, free: 15.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2125, allocations: 102.8 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.2128, allocations: 162.2 kB / 355.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.2129, allocations: 25.7 kB / 355.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.213, allocations: 123.7 kB / 355.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/0.2131, allocations: 27.64 kB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.2132, allocations: 33.7 kB / 355.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.2134, allocations: 322.8 kB / 356.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2137, allocations: 39.97 kB / 356.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.2139, allocations: 72.27 kB / 356.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2144, allocations: 110.6 kB / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2144, allocations: 0 / 356.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005946/0.215, allocations: 145.5 kB / 356.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.215, allocations: 7.938 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2151, allocations: 0 / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.2151, allocations: 4 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.216, allocations: 83.91 kB / 356.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.2186, allocations: 1.398 MB / 357.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.219, allocations: 19.92 kB / 357.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.219, allocations: 8 kB / 357.9 MB, free: 12.55 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 0.0002113/0.2192, allocations: 121.7 kB / 358.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.2193, allocations: 11.91 kB / 358.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.2201, allocations: 159.2 kB / 358.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.2201, allocations: 48 / 358.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2201, allocations: 7.922 kB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.2201, allocations: 3.938 kB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.2215, allocations: 471.9 kB / 358.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.2215, allocations: 8 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2217, allocations: 19.98 kB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004137/0.2222, allocations: 40.8 kB / 358.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.2222, allocations: 7.984 kB / 358.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.2241, allocations: 1.293 MB / 360.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.2241, allocations: 0 / 360.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2251, allocations: 293.1 kB / 360.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2253, allocations: 92.94 kB / 360.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.2253, allocations: 0 / 360.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.2256, allocations: 24.05 kB / 360.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2257, allocations: 0 / 360.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.2257, allocations: 7.984 kB / 360.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2259, allocations: 124.7 kB / 360.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2259, allocations: 0 / 360.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.2265, allocations: 43.88 kB / 360.6 MB, free: 9.59 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.0002951/0.2268, allocations: 99.19 kB / 360.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.2278, allocations: 139.8 kB / 360.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.2279, allocations: 4 kB / 360.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.2284, allocations: 163.2 kB / 361 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.2288, allocations: 15.98 kB / 361 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.2315, allocations: 0.5948 MB / 361.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.232, allocations: 0.7082 MB / 362.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.2321, allocations: 11.44 kB / 362.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2321, allocations: 7.938 kB / 362.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of Templates: time 0.007438/0.2396, allocations: 2.197 MB / 364.6 MB, free: 5.574 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches