Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007978/0.0007978, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001864, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007379/0.0007379, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009026/0.00164, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9688/0.9688, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/1.12, allocations: 49.49 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.835e-05, allocations: 2.312 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003675/0.003704, allocations: 2.055 MB / 223.9 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.004854, allocations: 0.6162 MB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.004943, allocations: 4 kB / 224.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.124e-05/0.005004, allocations: 19.78 kB / 224.5 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.005147, allocations: 47.56 kB / 224.6 MB, free: 13.39 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.005554, allocations: 91.73 kB / 224.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.005828, allocations: 183.2 kB / 224.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005971, allocations: 38.3 kB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.006272, allocations: 136.4 kB / 225 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.006398, allocations: 63.8 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.006444, allocations: 16 kB / 225.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.893e-05/0.006473, allocations: 12 kB / 225.1 MB, free: 12.86 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.00651, allocations: 27.88 kB / 225.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.006573, allocations: 43.94 kB / 225.2 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.006798, allocations: 103.7 kB / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839e-05/0.006816, allocations: 0 / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006818, allocations: 0 / 225.3 MB, free: 12.69 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.006839, allocations: 0 / 225.3 MB, free: 12.69 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.000712/0.007551, allocations: 391.9 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.007587, allocations: 15.97 kB / 225.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.007651, allocations: 20.91 kB / 225.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.007808, allocations: 137.5 kB / 225.8 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.007827, allocations: 8.375 kB / 225.9 MB, free: 12.08 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.007865, allocations: 12.38 kB / 225.9 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.008206, allocations: 192.4 kB / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.00822, allocations: 0 / 226.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.008237, allocations: 4 kB / 226.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.008247, allocations: 4 kB / 226.1 MB, free: 11.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.008334, allocations: 27.84 kB / 226.1 MB, free: 11.81 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.00905, allocations: 319 kB / 226.4 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.009176, allocations: 54.48 kB / 226.5 MB, free: 11.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.009267, allocations: 40.98 kB / 226.5 MB, free: 11.37 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.009282, allocations: 0 / 226.5 MB, free: 11.37 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.009313, allocations: 42.56 kB / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.009314, allocations: 0 / 226.5 MB, free: 11.32 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001952/0.009509, allocations: 61.67 kB / 226.6 MB, free: 11.25 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.009548, allocations: 55.34 kB / 226.6 MB, free: 11.19 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.009666, allocations: 154.8 kB / 226.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.009686, allocations: 25.7 kB / 226.8 MB, free: 10.99 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.009764, allocations: 127.7 kB / 226.9 MB, free: 10.86 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.009796, allocations: 27.78 kB / 227 MB, free: 10.84 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.009848, allocations: 25.7 kB / 227 MB, free: 10.8 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.009953, allocations: 330.8 kB / 227.3 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.33e-05/0.009986, allocations: 8 kB / 227.3 MB, free: 10.46 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.01006, allocations: 95.69 kB / 227.4 MB, free: 10.34 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.788e-05/0.01015, allocations: 54.77 kB / 227.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01015, allocations: 0 / 227.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001359/0.01029, allocations: 85.58 kB / 227.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.0103, allocations: 4 kB / 227.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01031, allocations: 3.938 kB / 227.6 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01032, allocations: 4 kB / 227.6 MB, free: 10.18 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.0108, allocations: 91.91 kB / 227.7 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.01185, allocations: 1.272 MB / 228.9 MB, free: 8.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.01196, allocations: 23.88 kB / 229 MB, free: 8.707 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01197, allocations: 4 kB / 229 MB, free: 8.703 MB / 234.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 8.196e-05/0.01206, allocations: 113.8 kB / 229.1 MB, free: 8.582 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.01209, allocations: 15.92 kB / 229.1 MB, free: 8.566 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.0123, allocations: 91.27 kB / 229.2 MB, free: 8.469 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.01231, allocations: 7.938 kB / 229.2 MB, free: 8.461 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01231, allocations: 4.062 kB / 229.2 MB, free: 8.457 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01231, allocations: 0 / 229.2 MB, free: 8.457 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.01272, allocations: 268.3 kB / 229.5 MB, free: 8.164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01272, allocations: 0 / 229.5 MB, free: 8.164 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.01285, allocations: 31.97 kB / 229.5 MB, free: 8.133 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01288, allocations: 15.84 kB / 229.5 MB, free: 8.117 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.01308, allocations: 36.86 kB / 229.5 MB, free: 8.078 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.0131, allocations: 3.984 kB / 229.5 MB, free: 8.074 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/0.01388, allocations: 1.182 MB / 230.7 MB, free: 6.805 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01388, allocations: 0 / 230.7 MB, free: 6.805 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01414, allocations: 205.1 kB / 230.9 MB, free: 6.582 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.01417, allocations: 8 kB / 230.9 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.01427, allocations: 4 kB / 230.9 MB, free: 6.57 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.01431, allocations: 7.984 kB / 230.9 MB, free: 6.562 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.01431, allocations: 0 / 230.9 MB, free: 6.562 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.01436, allocations: 41.62 kB / 231 MB, free: 6.52 MB / 234.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01437, allocations: 64 / 231 MB, free: 6.52 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.01464, allocations: 40 kB / 231 MB, free: 6.48 MB / 234.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 0.0001234/0.01477, allocations: 76.42 kB / 231.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004055/0.01517, allocations: 93.58 kB / 231.2 MB, free: 6.297 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.01519, allocations: 7.984 kB / 231.2 MB, free: 6.289 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.01539, allocations: 150.6 kB / 231.3 MB, free: 6.129 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.0156, allocations: 27.92 kB / 231.4 MB, free: 6.102 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.01802, allocations: 383 kB / 231.7 MB, free: 5.695 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.01808, allocations: 79.17 kB / 231.8 MB, free: 5.598 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.01814, allocations: 12.44 kB / 231.8 MB, free: 5.586 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.01826, allocations: 75.34 kB / 231.9 MB, free: 5.512 MB / 234.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01826, allocations: 0 / 231.9 MB, free: 5.512 MB / 234.7 MB Notification: Performance of Templates: time 0.005146/0.02341, allocations: 1.98 MB / 233.9 MB, free: 3.535 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5332980481907725]