Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003318/0.2446, allocations: 1.98 MB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2458, allocations: 0.6194 MB / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.2458, allocations: 0 / 434.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.781e-05/0.2459, allocations: 27.78 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.2461, allocations: 47.62 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.2465, allocations: 107 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.2467, allocations: 187.3 kB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2468, allocations: 36.62 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.247, allocations: 91.62 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2472, allocations: 67.69 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2472, allocations: 12 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.2472, allocations: 20 kB / 435.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.2473, allocations: 39.89 kB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.2474, allocations: 71.66 kB / 435.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2476, allocations: 183 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2476, allocations: 0 / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2476, allocations: 0 / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2476, allocations: 0 / 435.8 MB, free: 3.215 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.0007601/0.2484, allocations: 405.5 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2484, allocations: 12.03 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.2488, allocations: 52.75 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.2491, allocations: 162.2 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2491, allocations: 8.375 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.2492, allocations: 12.38 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.2495, allocations: 209.4 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2495, allocations: 0 / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2495, allocations: 7.984 kB / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2495, allocations: 0 / 436.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2498, allocations: 95.88 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.2507, allocations: 427.1 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.251, allocations: 102.5 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2512, allocations: 60.83 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2512, allocations: 0 / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.2513, allocations: 38.56 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.2513, allocations: 3.938 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004778/0.2517, allocations: 149.5 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.2518, allocations: 106.8 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.252, allocations: 162.2 kB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.252, allocations: 25.7 kB / 437.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.2521, allocations: 116 kB / 437.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2521, allocations: 31.73 kB / 438 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.2522, allocations: 29.7 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2523, allocations: 322.8 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2525, allocations: 39.98 kB / 438.3 MB, free: 496 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.2526, allocations: 131.7 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.2529, allocations: 98.62 kB / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2529, allocations: 0 / 438.6 MB, free: 228 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003424/0.2532, allocations: 145.6 kB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2533, allocations: 8 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2533, allocations: 3.938 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2533, allocations: 0 / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.2539, allocations: 91.94 kB / 438.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.2554, allocations: 1.374 MB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.2556, allocations: 28.16 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2556, allocations: 4 kB / 440.2 MB, free: 14.46 MB / 350.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.0001197/0.2557, allocations: 125.7 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.2557, allocations: 11.95 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.2562, allocations: 159.1 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2562, allocations: 0 / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.2562, allocations: 0 / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2562, allocations: 0 / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008102/0.257, allocations: 388.2 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.257, allocations: 3.938 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2572, allocations: 35.94 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.2574, allocations: 20.84 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2574, allocations: 11.94 kB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.2585, allocations: 1.268 MB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2585, allocations: 0 / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.2591, allocations: 305.1 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.2592, allocations: 20.09 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.2592, allocations: 4 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2593, allocations: 11.98 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.2594, allocations: 11.98 kB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2594, allocations: 7.938 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2595, allocations: 120.1 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2595, allocations: 3.938 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.2598, allocations: 43.89 kB / 442.7 MB, free: 11.75 MB / 350.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.0001202/0.2599, allocations: 99.25 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006672/0.2606, allocations: 131.8 kB / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2606, allocations: 0 / 443 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2609, allocations: 162.7 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2611, allocations: 10.81 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2627, allocations: 0.5743 MB / 443.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.718e-05/0.2627, allocations: 101.4 kB / 443.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.2628, allocations: 19.44 kB / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2628, allocations: 0 / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.004339/0.2671, allocations: 2.328 MB / 446.2 MB, free: 8.254 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.028886253014207]