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.001572/0.001572, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001781/0.001781, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.408/1.408, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.00214/0.00214, allocations: 51.92 kB / 379 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2389, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003392/0.2423, allocations: 2.069 MB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2435, allocations: 0.6777 MB / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.658e-05/0.2436, allocations: 4 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.514e-05/0.2436, allocations: 15.8 kB / 435.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2438, allocations: 47.62 kB / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.2441, allocations: 107.1 kB / 435.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2444, allocations: 187.3 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.2445, allocations: 37.73 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2447, allocations: 87.7 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2449, allocations: 83.61 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.2449, allocations: 16 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.245, allocations: 23.94 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.245, allocations: 39.83 kB / 435.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.2451, allocations: 75.61 kB / 435.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.2453, allocations: 184.6 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2453, allocations: 3.984 kB / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2453, allocations: 0 / 436 MB, free: 3.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2453, allocations: 4 kB / 436 MB, free: 3.254 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.0007681/0.2461, allocations: 397.5 kB / 436.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2461, allocations: 8.031 kB / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/0.2465, allocations: 60.8 kB / 436.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.2468, allocations: 158.2 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2468, allocations: 8.375 kB / 436.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.2469, allocations: 12.38 kB / 436.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2472, allocations: 154 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2472, allocations: 0 / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2472, allocations: 4 kB / 436.8 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2472, allocations: 4 kB / 436.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.2475, allocations: 91.94 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.2484, allocations: 486.4 kB / 437.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.2487, allocations: 106.5 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.2489, allocations: 56.83 kB / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.2489, allocations: 4.141 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.249, allocations: 38.5 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.249, allocations: 7.922 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004679/0.2494, allocations: 149.5 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.2495, allocations: 106.8 kB / 437.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2497, allocations: 158.2 kB / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2497, allocations: 29.7 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.2498, allocations: 123.9 kB / 438.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2498, allocations: 27.73 kB / 438.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.2499, allocations: 33.7 kB / 438.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.25, allocations: 322.8 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.2501, allocations: 35.97 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2503, allocations: 80.27 kB / 438.7 MB, free: 436 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2505, allocations: 98.78 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2505, allocations: 8.031 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003348/0.2509, allocations: 141.5 kB / 438.9 MB, free: 172 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2509, allocations: 15.92 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2509, allocations: 0 / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2509, allocations: 0 / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.2515, allocations: 87.95 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.253, allocations: 1.4 MB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.2532, allocations: 19.92 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2532, allocations: 7.922 kB / 440.4 MB, free: 14.52 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.0001148/0.2533, allocations: 129.9 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2534, allocations: 11.91 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.2538, allocations: 155.1 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2538, allocations: 4 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2538, allocations: 3.938 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2538, allocations: 0 / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007618/0.2546, allocations: 435.1 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2546, allocations: 0 / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2547, allocations: 27.92 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.255, allocations: 28.83 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.255, allocations: 4 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.2561, allocations: 1.295 MB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.2561, allocations: 8.094 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.2567, allocations: 301 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.2568, allocations: 11.97 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2568, allocations: 11.94 kB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.257, allocations: 15.98 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.257, allocations: 7.984 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.257, allocations: 0 / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.2571, allocations: 127.3 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2571, allocations: 0 / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.2574, allocations: 39.89 kB / 443 MB, free: 11.71 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.0001173/0.2575, allocations: 103.2 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.2582, allocations: 135.9 kB / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2582, allocations: 0 / 443.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.2585, allocations: 154.7 kB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2588, allocations: 12 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2603, allocations: 0.5674 MB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2607, allocations: 0.7158 MB / 444.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.2607, allocations: 15.44 kB / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2607, allocations: 0 / 444.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Templates: time 0.00435/0.2651, allocations: 2.262 MB / 447 MB, free: 7.68 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: 6.818832972086966]