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.0009508/0.0009508, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009507/0.0009507, allocations: 162.5 kB / 25.7 MB, free: 8.406 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 0.8719/0.8719, allocations: 158.6 MB / 187.6 MB, free: 2.777 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 1.332e-06/1.332e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.494e-05, allocations: 6.25 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.005699/0.005724, allocations: 2.004 MB / 253.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007231/0.006447, allocations: 0.62 MB / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.006507, allocations: 0 / 254.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.012e-05/0.006557, allocations: 15.86 kB / 254.2 MB, free: 4.602 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.00668, allocations: 51.56 kB / 254.2 MB, free: 4.551 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.006924, allocations: 91.73 kB / 254.3 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.007073, allocations: 187.2 kB / 254.5 MB, free: 4.277 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.007182, allocations: 34.31 kB / 254.5 MB, free: 4.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.007348, allocations: 119.7 kB / 254.6 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.245e-05/0.007431, allocations: 55.8 kB / 254.7 MB, free: 4.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.007457, allocations: 16 kB / 254.7 MB, free: 4.055 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.007476, allocations: 20 kB / 254.7 MB, free: 4.035 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.007505, allocations: 35.84 kB / 254.8 MB, free: 4 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.007548, allocations: 55.84 kB / 254.8 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.007683, allocations: 123.5 kB / 254.9 MB, free: 3.824 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007685, allocations: 3.938 kB / 255 MB, free: 3.82 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007687, allocations: 0 / 255 MB, free: 3.82 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.00769, allocations: 0 / 255 MB, free: 3.82 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.0004137/0.008104, allocations: 368.1 kB / 255.3 MB, free: 3.438 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.008135, allocations: 15.98 kB / 255.3 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.008173, allocations: 20.92 kB / 255.3 MB, free: 3.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.008258, allocations: 133.6 kB / 255.5 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.008268, allocations: 8.375 kB / 255.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.008291, allocations: 12.38 kB / 255.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.008475, allocations: 180.8 kB / 255.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.008483, allocations: 192 / 255.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.008494, allocations: 4.375 kB / 255.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.0085, allocations: 7.938 kB / 255.7 MB, free: 3.008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.008548, allocations: 35.78 kB / 255.7 MB, free: 2.973 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.008993, allocations: 326.9 kB / 256 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.009081, allocations: 54.48 kB / 256.1 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.009141, allocations: 28.84 kB / 256.1 MB, free: 2.535 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.009155, allocations: 3.984 kB / 256.1 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.009175, allocations: 38.56 kB / 256.2 MB, free: 2.484 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.009177, allocations: 4 kB / 256.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001249/0.009302, allocations: 65.81 kB / 256.2 MB, free: 2.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.009347, allocations: 106.8 kB / 256.3 MB, free: 2.281 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.009428, allocations: 154.6 kB / 256.5 MB, free: 2.117 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.009441, allocations: 25.7 kB / 256.5 MB, free: 2.086 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.009486, allocations: 115.9 kB / 256.6 MB, free: 1.969 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.009504, allocations: 23.8 kB / 256.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.00954, allocations: 29.69 kB / 256.7 MB, free: 1.91 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.009612, allocations: 330.8 kB / 257 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.009632, allocations: 8 kB / 257 MB, free: 1.566 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.009687, allocations: 95.67 kB / 257.1 MB, free: 1.445 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.009741, allocations: 50.52 kB / 257.1 MB, free: 1.387 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.009743, allocations: 4 kB / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.997e-05/0.009833, allocations: 81.58 kB / 257.2 MB, free: 1.297 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.009844, allocations: 4 kB / 257.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.009849, allocations: 0 / 257.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.00986, allocations: 4 kB / 257.2 MB, free: 1.289 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.01014, allocations: 75.95 kB / 257.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.01085, allocations: 1.276 MB / 258.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.01092, allocations: 19.94 kB / 258.6 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01093, allocations: 4.156 kB / 258.6 MB, free: 15.82 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.039e-05/0.01099, allocations: 113.8 kB / 258.7 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.01101, allocations: 15.92 kB / 258.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.01115, allocations: 103.5 kB / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01115, allocations: 4 kB / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.01116, allocations: 0 / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01116, allocations: 0 / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.01143, allocations: 280.4 kB / 259.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01143, allocations: 0 / 259.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.0115, allocations: 19.98 kB / 259.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.01164, allocations: 36.83 kB / 259.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01164, allocations: 7.984 kB / 259.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004968/0.01214, allocations: 1.166 MB / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01214, allocations: 0 / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01231, allocations: 201.1 kB / 260.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.01232, allocations: 15.89 kB / 260.6 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.01234, allocations: 12.16 kB / 260.6 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.0124, allocations: 7.938 kB / 260.6 MB, free: 13.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.01243, allocations: 7.984 kB / 260.6 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.01243, allocations: 7.984 kB / 260.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.01246, allocations: 33.64 kB / 260.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01246, allocations: 0 / 260.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001579/0.01262, allocations: 39.95 kB / 260.7 MB, free: 13.61 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 9.022e-05/0.01271, allocations: 80.36 kB / 260.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.01296, allocations: 96.69 kB / 260.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.01296, allocations: 4 kB / 260.8 MB, free: 13.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.01309, allocations: 146.5 kB / 261 MB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.01322, allocations: 15.98 kB / 261 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.01396, allocations: 413.4 kB / 261.4 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.01399, allocations: 75.27 kB / 261.5 MB, free: 12.72 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.629e-05/0.01403, allocations: 12.58 kB / 261.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.01411, allocations: 75.34 kB / 261.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01411, allocations: 0 / 261.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of Templates: time 0.003309/0.01742, allocations: 1.866 MB / 263.4 MB, free: 10.77 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: 2.5509898555465043]