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.001049/0.001049, allocations: 71.77 kB / 22.45 MB, free: 2.094 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.0009778/0.0009778, allocations: 166.9 kB / 25.75 MB, free: 8.945 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.8653/0.8653, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.383e-06/1.383e-06, allocations: 3.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.475e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002081/0.002096, allocations: 2.008 MB / 253.1 MB, free: 5.766 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.002787, allocations: 0.6046 MB / 253.7 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.002849, allocations: 4 kB / 253.7 MB, free: 5.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.002893, allocations: 19.78 kB / 253.8 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.003003, allocations: 55.56 kB / 253.8 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.003241, allocations: 83.75 kB / 253.9 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.003393, allocations: 191.2 kB / 254.1 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003516, allocations: 33.67 kB / 254.1 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.003674, allocations: 111.7 kB / 254.2 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.003753, allocations: 63.8 kB / 254.3 MB, free: 4.598 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.00378, allocations: 16 kB / 254.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.003798, allocations: 12 kB / 254.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.003841, allocations: 43.83 kB / 254.4 MB, free: 4.527 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.003892, allocations: 59.83 kB / 254.4 MB, free: 4.469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.004038, allocations: 119.6 kB / 254.5 MB, free: 4.352 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00404, allocations: 0 / 254.5 MB, free: 4.352 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00404, allocations: 0 / 254.5 MB, free: 4.352 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.004044, allocations: 0 / 254.5 MB, free: 4.352 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.0005144/0.004558, allocations: 495.8 kB / 255 MB, free: 3.832 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.004592, allocations: 11.98 kB / 255 MB, free: 3.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.004654, allocations: 24.84 kB / 255.1 MB, free: 3.797 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.005027, allocations: 144.4 kB / 255.2 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005041, allocations: 8.375 kB / 255.2 MB, free: 3.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.005071, allocations: 12.38 kB / 255.2 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.005299, allocations: 193.3 kB / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005309, allocations: 192 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.005323, allocations: 384 / 255.4 MB, free: 3.387 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.005333, allocations: 7.938 kB / 255.4 MB, free: 3.379 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.005414, allocations: 39.95 kB / 255.4 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.006016, allocations: 470.4 kB / 255.9 MB, free: 2.836 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.006133, allocations: 62.98 kB / 256 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.006229, allocations: 51.58 kB / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006242, allocations: 0 / 256 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.006265, allocations: 37.39 kB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.006266, allocations: 0 / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001962/0.006462, allocations: 77.78 kB / 256.1 MB, free: 2.578 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.006509, allocations: 114.8 kB / 256.2 MB, free: 2.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.006635, allocations: 217.7 kB / 256.5 MB, free: 2.211 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.006648, allocations: 25.7 kB / 256.5 MB, free: 2.18 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.006721, allocations: 174.6 kB / 256.7 MB, free: 2.004 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.006775, allocations: 27.75 kB / 256.7 MB, free: 1.977 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.006828, allocations: 39.34 kB / 256.7 MB, free: 1.93 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006937, allocations: 0.4922 MB / 257.2 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.006986, allocations: 15.98 kB / 257.2 MB, free: 1.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.007065, allocations: 117.8 kB / 257.3 MB, free: 1.258 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.428e-05/0.00715, allocations: 59.06 kB / 257.4 MB, free: 1.188 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007152, allocations: 4.031 kB / 257.4 MB, free: 1.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001427/0.007294, allocations: 105.5 kB / 257.5 MB, free: 1.074 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.007309, allocations: 4 kB / 257.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.007316, allocations: 0 / 257.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.00733, allocations: 4 kB / 257.5 MB, free: 1.066 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.00769, allocations: 79.92 kB / 257.6 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009719/0.008662, allocations: 1.881 MB / 259.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.008741, allocations: 11.98 kB / 259.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.008749, allocations: 4 kB / 259.5 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 8.406e-05/0.008833, allocations: 168.7 kB / 259.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.008861, allocations: 23.84 kB / 259.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.009053, allocations: 110.1 kB / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009055, allocations: 4.031 kB / 259.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.009057, allocations: 7.938 kB / 259.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00906, allocations: 0 / 259.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.009414, allocations: 405 kB / 260.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.009415, allocations: 0 / 260.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.009492, allocations: 24.02 kB / 260.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.009676, allocations: 47.64 kB / 260.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.009686, allocations: 0 / 260.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.01043, allocations: 1.752 MB / 262 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01043, allocations: 4 kB / 262 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.01067, allocations: 287.1 kB / 262.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01069, allocations: 11.94 kB / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.0107, allocations: 0 / 262.3 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.01077, allocations: 16.12 kB / 262.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.01081, allocations: 3.984 kB / 262.3 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01082, allocations: 4 kB / 262.3 MB, free: 11.89 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.316e-05/0.01088, allocations: 155.2 kB / 262.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 262.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.01108, allocations: 43.89 kB / 262.5 MB, free: 11.7 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 8.279e-05/0.01117, allocations: 99.23 kB / 262.6 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.0115, allocations: 103.8 kB / 262.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0115, allocations: 0 / 262.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.01168, allocations: 204.6 kB / 262.9 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01186, allocations: 23.86 kB / 262.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/0.01274, allocations: 438.2 kB / 263.4 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01278, allocations: 67.33 kB / 263.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.01281, allocations: 12.48 kB / 263.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.01285, allocations: 16.5 kB / 263.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01285, allocations: 3.938 kB / 263.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Templates: time 0.003507/0.01636, allocations: 1.787 MB / 265.3 MB, free: 8.883 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.727225332055241]