Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002113, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006454/0.0006454, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008986/0.001544, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.833/0.833, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2065/1.04, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.613e-05, allocations: 2.312 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002042/0.002058, allocations: 2.092 MB / 241.8 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006301/0.002688, allocations: 0.5839 MB / 242.4 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.002738, allocations: 0 / 242.4 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.002782, allocations: 19.73 kB / 242.4 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.002858, allocations: 48.84 kB / 242.5 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.003039, allocations: 92.64 kB / 242.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003186, allocations: 187.2 kB / 242.8 MB, free: 3.344 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003289, allocations: 38.97 kB / 242.8 MB, free: 3.301 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.003472, allocations: 129.3 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.003551, allocations: 63.8 kB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.003578, allocations: 17.78 kB / 243 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.003598, allocations: 16 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.003625, allocations: 27.88 kB / 243.1 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.003662, allocations: 39.94 kB / 243.1 MB, free: 3.016 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.003798, allocations: 103.6 kB / 243.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.003808, allocations: 0.6562 kB / 243.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003808, allocations: 0 / 243.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.003819, allocations: 0.6875 kB / 243.2 MB, free: 2.914 MB / 234.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.0004852/0.004304, allocations: 397.8 kB / 243.6 MB, free: 2.5 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.004334, allocations: 11.98 kB / 243.6 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.004377, allocations: 22.39 kB / 243.6 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.004492, allocations: 149.3 kB / 243.8 MB, free: 2.297 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.004506, allocations: 8.375 kB / 243.8 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.004534, allocations: 12.38 kB / 243.8 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.004726, allocations: 177.8 kB / 244 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004736, allocations: 0 / 244 MB, free: 2.074 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.004751, allocations: 12.53 kB / 244 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.004758, allocations: 5.672 kB / 244 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.00481, allocations: 29.34 kB / 244 MB, free: 2.031 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.005274, allocations: 328.1 kB / 244.3 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.278e-05/0.005357, allocations: 46.55 kB / 244.4 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.005422, allocations: 29.84 kB / 244.4 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.005437, allocations: 8 kB / 244.4 MB, free: 1.598 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.005454, allocations: 31.56 kB / 244.4 MB, free: 1.559 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005455, allocations: 0 / 244.4 MB, free: 1.559 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.000135/0.00559, allocations: 70.34 kB / 244.5 MB, free: 1.484 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.005614, allocations: 55.34 kB / 244.6 MB, free: 1.418 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.005692, allocations: 158.7 kB / 244.7 MB, free: 1.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.005705, allocations: 29.69 kB / 244.7 MB, free: 1.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.005752, allocations: 116.7 kB / 244.9 MB, free: 1.102 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.005771, allocations: 23.75 kB / 244.9 MB, free: 1.078 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.005808, allocations: 38.33 kB / 244.9 MB, free: 1.035 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.005875, allocations: 322.8 kB / 245.2 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.005895, allocations: 10.53 kB / 245.2 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.005943, allocations: 99.61 kB / 245.3 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.005995, allocations: 50.48 kB / 245.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005997, allocations: 0 / 245.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.252e-05/0.00608, allocations: 77.59 kB / 245.5 MB, free: 448 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006091, allocations: 5.469 kB / 245.5 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.006094, allocations: 4 kB / 245.5 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006105, allocations: 0 / 245.5 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.006422, allocations: 93.56 kB / 245.6 MB, free: 348 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007985/0.007221, allocations: 1.271 MB / 246.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.007289, allocations: 16.16 kB / 246.9 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007297, allocations: 7.984 kB / 246.9 MB, free: 14.96 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 6.126e-05/0.007358, allocations: 113.8 kB / 247 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.007377, allocations: 7.938 kB / 247 MB, free: 14.83 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.00752, allocations: 99.2 kB / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.007521, allocations: 0 / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007523, allocations: 0 / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007525, allocations: 0 / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.007796, allocations: 284.3 kB / 247.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007797, allocations: 0 / 247.4 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.007884, allocations: 27.98 kB / 247.4 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.007896, allocations: 11.89 kB / 247.4 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.008048, allocations: 52.77 kB / 247.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.008056, allocations: 0 / 247.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005085/0.008564, allocations: 1.166 MB / 248.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008565, allocations: 4 kB / 248.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.008731, allocations: 205.8 kB / 248.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.008744, allocations: 4 kB / 248.8 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.008804, allocations: 11.98 kB / 248.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.008832, allocations: 11.91 kB / 248.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.008838, allocations: 8 kB / 248.9 MB, free: 12.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.008868, allocations: 36.81 kB / 248.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.008868, allocations: 0 / 248.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.009024, allocations: 39.95 kB / 248.9 MB, free: 12.72 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.338e-05/0.009097, allocations: 84.2 kB / 249 MB, free: 12.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.009354, allocations: 101.6 kB / 249.1 MB, free: 12.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.009361, allocations: 0 / 249.1 MB, free: 12.53 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.009492, allocations: 151.1 kB / 249.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.009644, allocations: 69.94 kB / 249.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.01103, allocations: 406.4 kB / 249.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.01107, allocations: 63.34 kB / 249.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.01111, allocations: 16.48 kB / 249.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.01119, allocations: 71.34 kB / 249.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0112, allocations: 0 / 249.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of Templates: time 0.00332/0.01452, allocations: 1.955 MB / 251.8 MB, free: 9.777 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6045506363734603]