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.001044/0.001044, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002468, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007021/0.0007021, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008334/0.001535, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9372/0.9372, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0786/1.016, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.413e-06/1.413e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.802e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002332/0.00235, allocations: 2.122 MB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.003112, allocations: 0.6579 MB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.003171, allocations: 0 / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.003212, allocations: 15.84 kB / 247.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.003292, allocations: 47.58 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.003517, allocations: 111.6 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003686, allocations: 191.2 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003786, allocations: 34.45 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.003997, allocations: 148.4 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.004072, allocations: 59.81 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.004095, allocations: 16 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.004159, allocations: 23.98 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.004181, allocations: 23.94 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.004222, allocations: 47.88 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.00438, allocations: 111.6 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.004396, allocations: 8 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004397, allocations: 0 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.004412, allocations: 0 / 248.6 MB, free: 10 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.0005252/0.004937, allocations: 395.8 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.004965, allocations: 8.031 kB / 249 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.005188, allocations: 137.9 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.005348, allocations: 141.6 kB / 249.3 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.005359, allocations: 8.375 kB / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.005383, allocations: 12.38 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.005574, allocations: 186.1 kB / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.005584, allocations: 0 / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.005597, allocations: 8 kB / 249.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005602, allocations: 0 / 249.5 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.005655, allocations: 27.98 kB / 249.5 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.006074, allocations: 326.9 kB / 249.9 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.006155, allocations: 54.45 kB / 249.9 MB, free: 8.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.006213, allocations: 32.84 kB / 249.9 MB, free: 8.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.006226, allocations: 4 kB / 249.9 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.006245, allocations: 30.56 kB / 250 MB, free: 8.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.006248, allocations: 4 kB / 250 MB, free: 8.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001267/0.006375, allocations: 73.8 kB / 250.1 MB, free: 8.441 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.006398, allocations: 55.34 kB / 250.1 MB, free: 8.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.006476, allocations: 159.2 kB / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.006487, allocations: 25.7 kB / 250.3 MB, free: 8.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.006534, allocations: 115.9 kB / 250.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.006556, allocations: 27.78 kB / 250.4 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.006591, allocations: 33.62 kB / 250.5 MB, free: 7.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.006659, allocations: 322.8 kB / 250.8 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.006677, allocations: 8 kB / 250.8 MB, free: 7.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.006738, allocations: 103.7 kB / 250.9 MB, free: 7.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.006789, allocations: 46.58 kB / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.006792, allocations: 7.938 kB / 250.9 MB, free: 7.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.991e-05/0.006872, allocations: 77.59 kB / 251 MB, free: 7.387 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006884, allocations: 8 kB / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.006888, allocations: 0 / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.006895, allocations: 0 / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.007207, allocations: 91.88 kB / 251.1 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006751/0.007882, allocations: 1.269 MB / 252.4 MB, free: 5.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.007946, allocations: 15.94 kB / 252.4 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007952, allocations: 4.156 kB / 252.4 MB, free: 5.914 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.008013, allocations: 117.8 kB / 252.5 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.008034, allocations: 19.95 kB / 252.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.00817, allocations: 99.25 kB / 252.6 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.008171, allocations: 0 / 252.6 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-07/0.008172, allocations: 0 / 252.6 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008175, allocations: 3.938 kB / 252.6 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.008428, allocations: 284.2 kB / 252.9 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00843, allocations: 0 / 252.9 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.008509, allocations: 27.97 kB / 252.9 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.008522, allocations: 7.953 kB / 252.9 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.008663, allocations: 32.83 kB / 253 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.008671, allocations: 12.02 kB / 253 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000514/0.009185, allocations: 1.178 MB / 254.2 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009186, allocations: 0 / 254.2 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.009359, allocations: 209.8 kB / 254.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.00937, allocations: 0 / 254.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.009433, allocations: 8 kB / 254.4 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.009461, allocations: 15.97 kB / 254.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.009465, allocations: 3.984 kB / 254.4 MB, free: 3.746 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.009493, allocations: 32.83 kB / 254.4 MB, free: 3.711 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009493, allocations: 0 / 254.4 MB, free: 3.711 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.009658, allocations: 39.95 kB / 254.5 MB, free: 3.672 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 7.17e-05/0.009729, allocations: 80.45 kB / 254.6 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.00998, allocations: 101.6 kB / 254.7 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.009987, allocations: 0 / 254.7 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.0101, allocations: 154.5 kB / 254.8 MB, free: 3.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.01023, allocations: 30.97 kB / 254.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.01165, allocations: 398.5 kB / 255.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/0.01169, allocations: 67.33 kB / 255.3 MB, free: 2.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.066e-05/0.01173, allocations: 16.48 kB / 255.3 MB, free: 2.762 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.01181, allocations: 79.34 kB / 255.4 MB, free: 2.684 MB / 250.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01181, allocations: 3.938 kB / 255.4 MB, free: 2.68 MB / 250.7 MB Notification: Performance of Templates: time 0.003381/0.01519, allocations: 1.977 MB / 257.4 MB, free: 0.7109 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5032647410407662]