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.001154/0.001154, allocations: 84.39 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001369/0.001369, allocations: 164.9 kB / 25.6 MB, free: 8.102 MB / 18.57 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 1.105/1.105, allocations: 158.6 MB / 187.5 MB, free: 2.82 MB / 170.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 5.701e-06/5.701e-06, allocations: 4 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.7e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.01216/0.01219, allocations: 2.011 MB / 253.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.01429, allocations: 0.6007 MB / 254.1 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.01438, allocations: 4 kB / 254.1 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.01444, allocations: 19.78 kB / 254.1 MB, free: 4.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.01459, allocations: 51.56 kB / 254.2 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.01491, allocations: 91.73 kB / 254.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.0151, allocations: 183.2 kB / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.01523, allocations: 37.66 kB / 254.5 MB, free: 4.227 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.01546, allocations: 107.8 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.01556, allocations: 67.8 kB / 254.6 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.0156, allocations: 19.94 kB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.01562, allocations: 12 kB / 254.7 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.01566, allocations: 39.83 kB / 254.7 MB, free: 3.984 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.01572, allocations: 51.84 kB / 254.8 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.01589, allocations: 123.5 kB / 254.9 MB, free: 3.812 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.0159, allocations: 0 / 254.9 MB, free: 3.812 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0159, allocations: 0 / 254.9 MB, free: 3.812 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.01591, allocations: 4 kB / 254.9 MB, free: 3.809 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.003616/0.01952, allocations: 499.7 kB / 255.4 MB, free: 3.285 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.01958, allocations: 11.98 kB / 255.4 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.01964, allocations: 20.84 kB / 255.4 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.01979, allocations: 144.4 kB / 255.5 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.01981, allocations: 8.375 kB / 255.6 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.01985, allocations: 8.375 kB / 255.6 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.02015, allocations: 185.3 kB / 255.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.02016, allocations: 8.172 kB / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.02018, allocations: 384 / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.02019, allocations: 11.88 kB / 255.8 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.02026, allocations: 39.77 kB / 255.8 MB, free: 2.797 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006959/0.02096, allocations: 439 kB / 256.2 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.02108, allocations: 59.02 kB / 256.3 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.223e-05/0.02116, allocations: 39.67 kB / 256.3 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.02118, allocations: 0 / 256.3 MB, free: 2.219 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.02121, allocations: 41.39 kB / 256.4 MB, free: 2.168 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.02121, allocations: 0 / 256.4 MB, free: 2.168 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002049/0.02142, allocations: 81.7 kB / 256.4 MB, free: 2.082 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.02146, allocations: 102.8 kB / 256.5 MB, free: 1.957 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.02159, allocations: 217.7 kB / 256.8 MB, free: 1.727 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.02161, allocations: 25.7 kB / 256.8 MB, free: 1.695 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.02169, allocations: 166.6 kB / 256.9 MB, free: 1.527 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.02172, allocations: 31.73 kB / 257 MB, free: 1.496 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.02177, allocations: 35.34 kB / 257 MB, free: 1.453 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.02191, allocations: 0.4962 MB / 257.5 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.444e-05/0.02194, allocations: 8 kB / 257.5 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.02203, allocations: 125.7 kB / 257.6 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.63e-05/0.02212, allocations: 51.05 kB / 257.7 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02212, allocations: 0 / 257.7 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001549/0.02228, allocations: 93.55 kB / 257.8 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003019/0.0253, allocations: 4 kB / 257.8 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.0253, allocations: 4 kB / 257.8 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.02532, allocations: 0 / 257.8 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.0257, allocations: 83.92 kB / 257.9 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.02693, allocations: 1.866 MB / 259.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.02703, allocations: 16.14 kB / 259.8 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.02704, allocations: 0 / 259.8 MB, free: 14.53 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 9.471e-05/0.02713, allocations: 164.5 kB / 259.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.02717, allocations: 19.84 kB / 259.9 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.02739, allocations: 110.4 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.02739, allocations: 0 / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.0274, allocations: 8 kB / 260 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.0274, allocations: 7.984 kB / 260.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.02784, allocations: 377.2 kB / 260.4 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.02785, allocations: 4 kB / 260.4 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.02793, allocations: 15.98 kB / 260.4 MB, free: 13.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.02812, allocations: 47.62 kB / 260.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.02813, allocations: 3.984 kB / 260.5 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.03204, allocations: 1.721 MB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.03204, allocations: 3.938 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.03232, allocations: 279.3 kB / 262.5 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.03234, allocations: 7.953 kB / 262.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.03236, allocations: 3.938 kB / 262.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.03245, allocations: 11.98 kB / 262.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.03249, allocations: 11.92 kB / 262.5 MB, free: 11.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.0325, allocations: 4 kB / 262.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.03257, allocations: 148 kB / 262.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03257, allocations: 0 / 262.7 MB, free: 11.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.03284, allocations: 43.89 kB / 262.7 MB, free: 11.36 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 0.0001187/0.03296, allocations: 99.28 kB / 262.8 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.03331, allocations: 103.5 kB / 262.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03331, allocations: 0 / 262.9 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.0335, allocations: 208.5 kB / 263.1 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.03373, allocations: 12.12 kB / 263.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.03779, allocations: 426.5 kB / 263.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.03784, allocations: 71.28 kB / 263.6 MB, free: 10.37 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.264e-05/0.03789, allocations: 12.48 kB / 263.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.038, allocations: 98.17 kB / 263.7 MB, free: 10.26 MB / 250.7 MB Notification: Performance of SimCode: time 7.42e-07/0.038, allocations: 3.938 kB / 263.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Templates: time 0.007456/0.04546, allocations: 1.898 MB / 265.6 MB, free: 8.367 MB / 250.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 -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: 3.012173631694168]