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.001918/0.001918, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002293/0.002293, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001745/0.001745, allocations: 51.91 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.245, allocations: 53.37 MB / 431.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003591/0.2486, allocations: 1.972 MB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.25, allocations: 0.6155 MB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2501, allocations: 0 / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.2502, allocations: 23.78 kB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2503, allocations: 43.62 kB / 434.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2508, allocations: 114.7 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.251, allocations: 187.2 kB / 434.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2512, allocations: 40.25 kB / 434.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.2514, allocations: 83.7 kB / 434.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2516, allocations: 75.61 kB / 434.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.2516, allocations: 16 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.2517, allocations: 27.98 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.2517, allocations: 27.92 kB / 434.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.2518, allocations: 67.66 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.2521, allocations: 187 kB / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2521, allocations: 0 / 435.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2521, allocations: 4 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2521, allocations: 0 / 435.1 MB, free: 3.188 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.0008244/0.2529, allocations: 401.5 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.253, allocations: 12.03 kB / 435.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.2534, allocations: 56.8 kB / 435.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2537, allocations: 159.9 kB / 435.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.2538, allocations: 12.31 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.2538, allocations: 8.375 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.2542, allocations: 211.4 kB / 435.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.2542, allocations: 4 kB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2542, allocations: 4 kB / 435.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2542, allocations: 4 kB / 435.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2545, allocations: 91.94 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.2554, allocations: 423 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.2557, allocations: 98.52 kB / 436.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.2559, allocations: 64.77 kB / 436.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2559, allocations: 8 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.2559, allocations: 30.56 kB / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2559, allocations: 0 / 436.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004966/0.2564, allocations: 153.7 kB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.2565, allocations: 106.8 kB / 436.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2567, allocations: 158.2 kB / 437 MB, free: 1.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2567, allocations: 29.7 kB / 437.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.2568, allocations: 120 kB / 437.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.2569, allocations: 35.88 kB / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.2569, allocations: 25.7 kB / 437.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2571, allocations: 326.8 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.2572, allocations: 43.97 kB / 437.6 MB, free: 464 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.2574, allocations: 131.7 kB / 437.7 MB, free: 304 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.2577, allocations: 94.48 kB / 437.8 MB, free: 200 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2577, allocations: 4 kB / 437.8 MB, free: 196 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003478/0.258, allocations: 149.5 kB / 438 MB, free: 40 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.258, allocations: 4 kB / 438 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.258, allocations: 3.938 kB / 438 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.258, allocations: 0 / 438 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.2586, allocations: 83.91 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.2602, allocations: 1.37 MB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2604, allocations: 19.97 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.2604, allocations: 8 kB / 439.4 MB, free: 14.45 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.0001297/0.2605, allocations: 133.9 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.2605, allocations: 11.89 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005635/0.2611, allocations: 155.1 kB / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2611, allocations: 0 / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.2611, allocations: 0 / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2611, allocations: 7.922 kB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.2618, allocations: 387.8 kB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2619, allocations: 0 / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.262, allocations: 23.97 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.2622, allocations: 32.88 kB / 440.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2622, allocations: 7.922 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.2635, allocations: 1.272 MB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2635, allocations: 4.031 kB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.2642, allocations: 305.1 kB / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.2642, allocations: 11.97 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2642, allocations: 4 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2644, allocations: 20.05 kB / 441.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2644, allocations: 3.984 kB / 441.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2644, allocations: 7.938 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2645, allocations: 124.1 kB / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2645, allocations: 0 / 441.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.2649, allocations: 39.89 kB / 442 MB, free: 11.73 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.0001287/0.265, allocations: 103.2 kB / 442.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006815/0.2657, allocations: 132.3 kB / 442.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2657, allocations: 3.938 kB / 442.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.266, allocations: 158.8 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2663, allocations: 12 kB / 442.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2679, allocations: 0.5417 MB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.268, allocations: 101.4 kB / 443 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.2681, allocations: 16.47 kB / 443 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2681, allocations: 23.44 kB / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2681, allocations: 0 / 443.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.005591/0.2737, allocations: 1.879 MB / 444.9 MB, free: 8.699 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/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: 4.711670156568289]