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.00074/0.00074, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000997/0.001737, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000691/0.000691, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008617/0.001553, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9919/0.9919, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07967/1.072, allocations: 53.87 MB / 243.9 MB, free: 14.8 MB / 250.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.182e-05, allocations: 2.312 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.001994/0.002006, allocations: 2.133 MB / 247.4 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.002668, allocations: 0.6462 MB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.002722, allocations: 4 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.002764, allocations: 23.78 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.002841, allocations: 51.56 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.003042, allocations: 107.6 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003196, allocations: 187.2 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.443e-05/0.00329, allocations: 34.45 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.003486, allocations: 144.4 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.00356, allocations: 63.8 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003581, allocations: 16 kB / 248.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.003645, allocations: 27.98 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.003666, allocations: 19.94 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.003702, allocations: 47.88 kB / 248.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.003853, allocations: 119.6 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.003861, allocations: 0 / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003862, allocations: 0 / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.00387, allocations: 4 kB / 248.8 MB, free: 9.875 MB / 250.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.0004578/0.004327, allocations: 395.8 kB / 249.2 MB, free: 9.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.004356, allocations: 12.03 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.004561, allocations: 126 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.004702, allocations: 137.6 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.004715, allocations: 16.36 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.004736, allocations: 4.375 kB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004903, allocations: 192.5 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.004911, allocations: 0 / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004921, allocations: 7.984 kB / 249.7 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.004928, allocations: 7.938 kB / 249.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.004975, allocations: 25.2 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.005371, allocations: 322.9 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.005447, allocations: 50.55 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.005504, allocations: 36.84 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.005517, allocations: 7.938 kB / 250.1 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.005535, allocations: 34.56 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.005536, allocations: 0 / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001227/0.005658, allocations: 69.64 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.005684, allocations: 55.34 kB / 250.3 MB, free: 8.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.005769, allocations: 159.3 kB / 250.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.005783, allocations: 29.7 kB / 250.5 MB, free: 8.047 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.005827, allocations: 115.9 kB / 250.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.005845, allocations: 27.78 kB / 250.6 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.00588, allocations: 33.69 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.005952, allocations: 322.8 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.005971, allocations: 11.94 kB / 251 MB, free: 7.527 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.006022, allocations: 99.67 kB / 251.1 MB, free: 7.402 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.006074, allocations: 46.55 kB / 251.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006076, allocations: 0 / 251.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.044e-05/0.006156, allocations: 85.5 kB / 251.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006167, allocations: 8 kB / 251.2 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.00617, allocations: 0 / 251.2 MB, free: 7.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.00618, allocations: 4.062 kB / 251.2 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.006486, allocations: 91.84 kB / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006475/0.007133, allocations: 1.265 MB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.007195, allocations: 15.95 kB / 252.6 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.007201, allocations: 3.984 kB / 252.6 MB, free: 5.781 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 5.615e-05/0.007257, allocations: 121.7 kB / 252.7 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.007278, allocations: 15.92 kB / 252.7 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.007414, allocations: 91.27 kB / 252.8 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007416, allocations: 8.078 kB / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-07/0.007417, allocations: 0 / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.007419, allocations: 0 / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.007681, allocations: 280.2 kB / 253.1 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007683, allocations: 0 / 253.1 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.007764, allocations: 31.91 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.007778, allocations: 11.95 kB / 253.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.007909, allocations: 40.86 kB / 253.2 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.007915, allocations: 0 / 253.2 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004861/0.008401, allocations: 1.178 MB / 254.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.008403, allocations: 3.984 kB / 254.4 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.008565, allocations: 205.6 kB / 254.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.008578, allocations: 7.984 kB / 254.6 MB, free: 3.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.008638, allocations: 8 kB / 254.6 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.00866, allocations: 7.984 kB / 254.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.008663, allocations: 0 / 254.6 MB, free: 3.621 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.091e-05/0.008694, allocations: 40.81 kB / 254.6 MB, free: 3.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008694, allocations: 4.094 kB / 254.6 MB, free: 3.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.008842, allocations: 35.95 kB / 254.7 MB, free: 3.539 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 6.334e-05/0.008906, allocations: 80.42 kB / 254.8 MB, free: 3.449 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.009144, allocations: 101.6 kB / 254.9 MB, free: 3.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.009152, allocations: 8 kB / 254.9 MB, free: 3.336 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.009276, allocations: 150.7 kB / 255 MB, free: 3.176 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.009421, allocations: 69.55 kB / 255.1 MB, free: 3.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.01077, allocations: 390.4 kB / 255.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.01081, allocations: 71.33 kB / 255.5 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.01084, allocations: 8.641 kB / 255.5 MB, free: 2.594 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.01092, allocations: 75.34 kB / 255.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01092, allocations: 0 / 255.6 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Templates: time 0.003224/0.01415, allocations: 1.957 MB / 257.6 MB, free: 0.5781 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.487040645442903]