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.0007756/0.0007756, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009939/0.00177, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006809/0.0006809, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000879/0.00156, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9732/0.9732, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.117/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 1.072e-06/1.072e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.117e-05, allocations: 6.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002102/0.002113, allocations: 2.122 MB / 246.9 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.002881, allocations: 0.6618 MB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.00294, allocations: 0 / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.317e-05/0.002983, allocations: 23.78 kB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.003062, allocations: 47.58 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.003272, allocations: 107.6 kB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.003434, allocations: 191.2 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.003546, allocations: 34.44 kB / 247.9 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.003784, allocations: 144.4 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.003876, allocations: 63.8 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.0039, allocations: 16 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.003974, allocations: 20 kB / 248.1 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.004001, allocations: 23.94 kB / 248.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.004042, allocations: 43.88 kB / 248.2 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.004233, allocations: 119.6 kB / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.004246, allocations: 0 / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004247, allocations: 0 / 248.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.004259, allocations: 0 / 248.3 MB, free: 10.59 MB / 250.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.0005746/0.004834, allocations: 407.7 kB / 248.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.004862, allocations: 8.031 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.005094, allocations: 134 kB / 248.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.005255, allocations: 142.4 kB / 249 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005266, allocations: 8.375 kB / 249 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.005295, allocations: 12.38 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.005485, allocations: 183.8 kB / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005494, allocations: 0 / 249.2 MB, free: 9.621 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.005506, allocations: 8 kB / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.005511, allocations: 0 / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.917e-05/0.00556, allocations: 23.98 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.005996, allocations: 334.9 kB / 249.6 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.006083, allocations: 46.55 kB / 249.6 MB, free: 9.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.006147, allocations: 36.98 kB / 249.6 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.006163, allocations: 11.92 kB / 249.7 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.006182, allocations: 30.56 kB / 249.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.006183, allocations: 0 / 249.7 MB, free: 9.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.000126/0.006309, allocations: 61.67 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.006333, allocations: 59.34 kB / 249.8 MB, free: 8.961 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.006421, allocations: 157.2 kB / 250 MB, free: 8.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.006435, allocations: 33.7 kB / 250 MB, free: 8.758 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.006494, allocations: 119.9 kB / 250.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.006511, allocations: 19.78 kB / 250.1 MB, free: 8.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.006549, allocations: 33.7 kB / 250.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.006616, allocations: 322.8 kB / 250.5 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.006637, allocations: 11.98 kB / 250.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.006729, allocations: 99.62 kB / 250.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.006783, allocations: 50.78 kB / 250.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.006786, allocations: 4 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.363e-05/0.006869, allocations: 81.62 kB / 250.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.006879, allocations: 7.938 kB / 250.7 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.006883, allocations: 0 / 250.7 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.006896, allocations: 4 kB / 250.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.007203, allocations: 87.84 kB / 250.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007487/0.007952, allocations: 1.268 MB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.008021, allocations: 19.94 kB / 252.1 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.008028, allocations: 4 kB / 252.1 MB, free: 6.492 MB / 250.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 5.922e-05/0.008087, allocations: 113.8 kB / 252.2 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.008107, allocations: 20.08 kB / 252.2 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.008244, allocations: 91.27 kB / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008246, allocations: 4 kB / 252.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-07/0.008247, allocations: 0 / 252.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.00825, allocations: 4.031 kB / 252.3 MB, free: 6.238 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.008514, allocations: 276.3 kB / 252.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008516, allocations: 4 kB / 252.6 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.008598, allocations: 38.28 kB / 252.6 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.008616, allocations: 11.91 kB / 252.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.008751, allocations: 36.81 kB / 252.7 MB, free: 5.848 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.00876, allocations: 8 kB / 252.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006339/0.009394, allocations: 1.171 MB / 253.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009395, allocations: 0 / 253.9 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.009559, allocations: 205.1 kB / 254.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.009572, allocations: 8 kB / 254.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.00965, allocations: 12.14 kB / 254.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.009675, allocations: 7.984 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.009681, allocations: 8 kB / 254.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.00971, allocations: 29.48 kB / 254.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00971, allocations: 4 kB / 254.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.009865, allocations: 39.95 kB / 254.2 MB, free: 4.25 MB / 250.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.357e-05/0.009938, allocations: 80.41 kB / 254.3 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.01019, allocations: 105.6 kB / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.0102, allocations: 0 / 254.4 MB, free: 4.051 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01032, allocations: 146.6 kB / 254.5 MB, free: 3.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.01048, allocations: 72.31 kB / 254.6 MB, free: 3.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.01192, allocations: 404.8 kB / 255 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.01195, allocations: 63.34 kB / 255 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.536e-05/0.01199, allocations: 12.48 kB / 255 MB, free: 3.305 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.01207, allocations: 75.34 kB / 255.1 MB, free: 3.23 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01207, allocations: 4 kB / 255.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of Templates: time 0.004014/0.01609, allocations: 1.944 MB / 257.1 MB, free: 1.309 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5135805746540427]