Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001278/0.001278, allocations: 187 kB / 17.92 MB, free: 3.848 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 223.7 MB, free: 8.492 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.0009369/0.0009371, allocations: 107.5 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008015/0.0008017, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1982, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002654/0.2009, allocations: 2.054 MB / 375.9 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.2016, allocations: 0.6069 MB / 376.5 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2017, allocations: 2.156 kB / 376.5 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.2018, allocations: 12.97 kB / 376.5 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2019, allocations: 40.44 kB / 376.5 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.2021, allocations: 89.62 kB / 376.6 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2023, allocations: 178.5 kB / 376.8 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2024, allocations: 43.28 kB / 376.8 MB, free: 43.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2025, allocations: 68.72 kB / 376.9 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.2026, allocations: 77.28 kB / 377 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2027, allocations: 9.594 kB / 377 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.2027, allocations: 14.31 kB / 377 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.2027, allocations: 27.64 kB / 377 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.2028, allocations: 75.09 kB / 377.1 MB, free: 43.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2029, allocations: 165.7 kB / 377.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2029, allocations: 3.938 kB / 377.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.203, allocations: 0 / 377.3 MB, free: 43.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.203, allocations: 0 / 377.3 MB, free: 43.18 MB / 298.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.0005888/0.2036, allocations: 474.3 kB / 377.7 MB, free: 42.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2036, allocations: 9.469 kB / 377.7 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.2036, allocations: 16.72 kB / 377.8 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2038, allocations: 192 kB / 377.9 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.2038, allocations: 7.906 kB / 378 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2038, allocations: 11.38 kB / 378 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.2041, allocations: 160 kB / 378.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2041, allocations: 3.984 kB / 378.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2041, allocations: 5.188 kB / 378.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2041, allocations: 2.281 kB / 378.1 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.2044, allocations: 100.5 kB / 378.2 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.2051, allocations: 0.4994 MB / 378.7 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.2053, allocations: 101.8 kB / 378.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2055, allocations: 70.64 kB / 378.9 MB, free: 41.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2055, allocations: 5.547 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2056, allocations: 43.53 kB / 378.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2056, allocations: 0 / 378.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003862/0.206, allocations: 144.6 kB / 379.1 MB, free: 41.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.206, allocations: 107.9 kB / 379.2 MB, free: 41.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2061, allocations: 157.1 kB / 379.3 MB, free: 41.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2061, allocations: 26.77 kB / 379.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.2062, allocations: 123.3 kB / 379.5 MB, free: 41.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2062, allocations: 27.28 kB / 379.5 MB, free: 41.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2062, allocations: 26.73 kB / 379.5 MB, free: 41.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.2063, allocations: 325 kB / 379.9 MB, free: 40.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2064, allocations: 42.25 kB / 379.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2065, allocations: 82.83 kB / 380 MB, free: 40.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.2068, allocations: 104.5 kB / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2068, allocations: 0 / 380.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002825/0.207, allocations: 145.7 kB / 380.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2071, allocations: 13.72 kB / 380.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2071, allocations: 0 / 380.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2071, allocations: 1.375 kB / 380.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.2076, allocations: 87.39 kB / 380.3 MB, free: 40.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.2085, allocations: 1.404 MB / 381.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2087, allocations: 26.83 kB / 381.8 MB, free: 39.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2087, allocations: 7.734 kB / 381.8 MB, free: 39.11 MB / 298.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 (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 6.694e-05/0.2088, allocations: 123.8 kB / 381.9 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2088, allocations: 9.344 kB / 381.9 MB, free: 38.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.2092, allocations: 153.8 kB / 382 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.2092, allocations: 5.141 kB / 382.1 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.2092, allocations: 1 kB / 382.1 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2093, allocations: 0 / 382.1 MB, free: 38.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005804/0.2098, allocations: 469.2 kB / 382.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2098, allocations: 1.188 kB / 382.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.21, allocations: 22.02 kB / 382.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.2102, allocations: 49.88 kB / 382.6 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2102, allocations: 1.219 kB / 382.6 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/0.2109, allocations: 1.293 MB / 383.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2109, allocations: 3.938 kB / 383.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.212, allocations: 1.264 MB / 385.1 MB, free: 35.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.212, allocations: 87.8 kB / 385.2 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.212, allocations: 5.391 kB / 385.2 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2122, allocations: 14.14 kB / 385.2 MB, free: 35.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2122, allocations: 11.25 kB / 385.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2122, allocations: 2.125 kB / 385.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.789e-05/0.2123, allocations: 122.7 kB / 385.4 MB, free: 35.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2123, allocations: 0 / 385.4 MB, free: 35.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.2126, allocations: 47.91 kB / 385.4 MB, free: 35.61 MB / 298.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 () * 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 7.627e-05/0.2127, allocations: 100.2 kB / 385.5 MB, free: 35.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.2133, allocations: 134.3 kB / 385.7 MB, free: 35.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2134, allocations: 3.938 kB / 385.7 MB, free: 35.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.2136, allocations: 166.8 kB / 385.8 MB, free: 35.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2138, allocations: 14.19 kB / 385.8 MB, free: 35.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2151, allocations: 0.6918 MB / 386.5 MB, free: 34.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.2153, allocations: 0.7151 MB / 387.2 MB, free: 34.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.2153, allocations: 12.2 kB / 387.3 MB, free: 34.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2154, allocations: 17.66 kB / 387.3 MB, free: 34.06 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2154, allocations: 7.875 kB / 387.3 MB, free: 34.05 MB / 298.7 MB Notification: Performance of Templates: time 0.004099/0.2195, allocations: 1.621 MB / 388.9 MB, free: 33.23 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches