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.001414/0.001414, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001763/0.001763, allocations: 209 kB / 23.73 MB, free: 4.523 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.568/1.568, allocations: 230.6 MB / 257.5 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.001878/0.001878, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003753/0.2733, allocations: 1.98 MB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2746, allocations: 0.6117 MB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.812e-05/0.2747, allocations: 4 kB / 434.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.128e-05/0.2748, allocations: 23.72 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.2749, allocations: 43.62 kB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.2754, allocations: 107.8 kB / 434.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2756, allocations: 187.2 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.2758, allocations: 40.27 kB / 434.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.276, allocations: 91.62 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2761, allocations: 75.69 kB / 434.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2761, allocations: 16 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.2762, allocations: 27.98 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.2762, allocations: 35.84 kB / 434.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.637e-05/0.2763, allocations: 67.72 kB / 434.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.2766, allocations: 179 kB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2766, allocations: 0 / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2766, allocations: 0 / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2766, allocations: 0 / 435.1 MB, free: 3.23 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.000839/0.2774, allocations: 409.5 kB / 435.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2775, allocations: 8.031 kB / 435.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.2779, allocations: 52.81 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.2782, allocations: 166.2 kB / 435.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2782, allocations: 8.375 kB / 435.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2782, allocations: 8.375 kB / 435.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.2786, allocations: 209.4 kB / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2786, allocations: 0 / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2786, allocations: 0 / 435.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2786, allocations: 7.938 kB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.2789, allocations: 95.94 kB / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.2798, allocations: 423.1 kB / 436.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.2801, allocations: 106.5 kB / 436.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.2803, allocations: 68.75 kB / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2804, allocations: 0 / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.2804, allocations: 38.5 kB / 436.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.2804, allocations: 0 / 436.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005259/0.2809, allocations: 153.5 kB / 436.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.281, allocations: 102.8 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.2812, allocations: 158.2 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2813, allocations: 33.7 kB / 437.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.2814, allocations: 116 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2814, allocations: 31.73 kB / 437.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.2815, allocations: 33.7 kB / 437.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.2817, allocations: 322.8 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2818, allocations: 39.97 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.282, allocations: 131.5 kB / 437.7 MB, free: 340 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.2823, allocations: 106.7 kB / 437.8 MB, free: 224 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2823, allocations: 0 / 437.8 MB, free: 224 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003488/0.2826, allocations: 141.5 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2827, allocations: 4 kB / 438 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.2827, allocations: 3.969 kB / 438 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2827, allocations: 8 kB / 438 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/0.2833, allocations: 87.84 kB / 438.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.285, allocations: 1.37 MB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2852, allocations: 23.97 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2852, allocations: 0 / 439.5 MB, free: 14.47 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.0001422/0.2853, allocations: 133.7 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.2854, allocations: 11.89 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.2858, allocations: 151.3 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2858, allocations: 4 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.2858, allocations: 0 / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2858, allocations: 7.922 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.2865, allocations: 383.8 kB / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2865, allocations: 0 / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2867, allocations: 31.91 kB / 440.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002169/0.2869, allocations: 24.84 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.2869, allocations: 11.92 kB / 440.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.2881, allocations: 1.276 MB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2881, allocations: 0 / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.2887, allocations: 297.8 kB / 441.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.2887, allocations: 15.97 kB / 441.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.2888, allocations: 4 kB / 441.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2889, allocations: 11.98 kB / 441.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.289, allocations: 15.92 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.289, allocations: 8 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.2891, allocations: 120.1 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2891, allocations: 0 / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.2894, allocations: 43.89 kB / 442 MB, free: 11.76 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.000139/0.2896, allocations: 95.25 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.2902, allocations: 135.9 kB / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2902, allocations: 0 / 442.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.2906, allocations: 158.9 kB / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2908, allocations: 15.59 kB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2924, allocations: 0.5533 MB / 442.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2925, allocations: 105.3 kB / 443 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.2925, allocations: 12.48 kB / 443 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.2926, allocations: 15.44 kB / 443.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2926, allocations: 0 / 443.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Templates: time 0.00544/0.298, allocations: 1.907 MB / 445 MB, free: 8.707 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.589609168004245]