Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001972/0.001972, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002534/0.002534, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 373.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 53.32 MB / 427.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003814/0.1147, allocations: 2.065 MB / 429.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.116, allocations: 0.6584 MB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1162, allocations: 4 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.944e-05/0.1162, allocations: 23.78 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1164, allocations: 47.64 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.1168, allocations: 106.4 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.1171, allocations: 187.2 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1172, allocations: 37.55 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.1175, allocations: 87.62 kB / 430.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1176, allocations: 75.69 kB / 430.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.1176, allocations: 19.94 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.1177, allocations: 28 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.1178, allocations: 39.83 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1178, allocations: 75.66 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1181, allocations: 179.2 kB / 430.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1181, allocations: 4 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1181, allocations: 0 / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1181, allocations: 3.938 kB / 430.8 MB, free: 0.9102 MB / 350.1 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.0009086/0.119, allocations: 478.7 kB / 431.3 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1191, allocations: 8.031 kB / 431.3 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.1195, allocations: 52.81 kB / 431.3 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.1199, allocations: 224.1 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1199, allocations: 8.375 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1199, allocations: 8.375 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2358/0.3557, allocations: 149.3 kB / 431.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.3557, allocations: 0 / 431.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.3558, allocations: 3.969 kB / 431.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3558, allocations: 3.219 kB / 431.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.3561, allocations: 93.62 kB / 431.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.357, allocations: 0.5118 MB / 432.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.3574, allocations: 105.3 kB / 432.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3575, allocations: 68.58 kB / 432.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3576, allocations: 3.281 kB / 432.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.3576, allocations: 32.31 kB / 432.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3576, allocations: 0 / 432.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004886/0.3581, allocations: 150 kB / 432.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.3581, allocations: 107.8 kB / 432.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3582, allocations: 157.8 kB / 432.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3583, allocations: 25.7 kB / 432.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.3583, allocations: 124 kB / 433.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3583, allocations: 27.5 kB / 433.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.3584, allocations: 32.77 kB / 433.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.3585, allocations: 322.9 kB / 433.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3586, allocations: 36.92 kB / 433.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3588, allocations: 78.97 kB / 433.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.359, allocations: 103.2 kB / 433.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.359, allocations: 0 / 433.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003604/0.3594, allocations: 154.4 kB / 433.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3594, allocations: 8.656 kB / 433.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3594, allocations: 1.438 kB / 433.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3594, allocations: 1.688 kB / 433.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.36, allocations: 85.2 kB / 433.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3611, allocations: 1.499 MB / 435.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3613, allocations: 23.55 kB / 435.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3613, allocations: 6.281 kB / 435.4 MB, free: 9.344 MB / 350.1 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.565e-05/0.3614, allocations: 120.6 kB / 435.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3614, allocations: 15.19 kB / 435.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.3618, allocations: 159.4 kB / 435.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3618, allocations: 1 kB / 435.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3618, allocations: 0 / 435.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3618, allocations: 2.891 kB / 435.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.3627, allocations: 471.4 kB / 436.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3627, allocations: 1.812 kB / 436.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3628, allocations: 23.61 kB / 436.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.3631, allocations: 30.97 kB / 436.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3631, allocations: 8.234 kB / 436.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008313/0.3639, allocations: 1.393 MB / 437.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3639, allocations: 0 / 437.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.3645, allocations: 297.6 kB / 437.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.3646, allocations: 92.73 kB / 438 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.3646, allocations: 5.125 kB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3648, allocations: 11.98 kB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3648, allocations: 10.77 kB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3648, allocations: 3.406 kB / 438 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.294e-05/0.3649, allocations: 130.4 kB / 438.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3649, allocations: 0 / 438.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.3652, allocations: 43.98 kB / 438.2 MB, free: 7.016 MB / 350.1 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.0001204/0.3654, allocations: 100.2 kB / 438.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007419/0.3661, allocations: 135.6 kB / 438.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3661, allocations: 0 / 438.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.3664, allocations: 163.3 kB / 438.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3667, allocations: 21.56 kB / 438.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3681, allocations: 0.5394 MB / 439.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3683, allocations: 0.7088 MB / 439.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.3684, allocations: 12.95 kB / 439.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3684, allocations: 13.41 kB / 439.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3684, allocations: 4 kB / 439.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of Templates: time 0.006325/0.3748, allocations: 1.683 MB / 441.6 MB, free: 5.668 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.824436765164137]