Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001996/0.001996, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002472/0.002472, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.308e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.005532/0.005565, allocations: 1.988 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.007466, allocations: 0.6153 MB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.007599, allocations: 4 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.007696, allocations: 19.78 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.00796, allocations: 51.56 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.008524, allocations: 99.73 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.008924, allocations: 195.2 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.009091, allocations: 29.8 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.009503, allocations: 123.6 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.009681, allocations: 63.8 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.009726, allocations: 12 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.009821, allocations: 27.94 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.009879, allocations: 31.89 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.01001, allocations: 59.83 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.01043, allocations: 191.4 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01044, allocations: 3.938 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01044, allocations: 0 / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.01045, allocations: 0 / 275.8 MB, free: 14.29 MB / 266.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.00121/0.01166, allocations: 409.5 kB / 276.2 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.0117, allocations: 8.031 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006532/0.01236, allocations: 60.81 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.01279, allocations: 161.6 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.01281, allocations: 12.31 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.01286, allocations: 8.375 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.01347, allocations: 204 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01348, allocations: 192 / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.01351, allocations: 4.375 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.01352, allocations: 7.938 kB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.01392, allocations: 95.94 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.01493, allocations: 419.3 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.01532, allocations: 106.5 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.01555, allocations: 60.83 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01557, allocations: 4 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.0156, allocations: 30.56 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.367e-06/0.01561, allocations: 3.984 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005764/0.01618, allocations: 149.5 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.01628, allocations: 114.8 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01646, allocations: 156.9 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.01649, allocations: 25.7 kB / 277.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.0166, allocations: 131.8 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.01664, allocations: 31.73 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.0167, allocations: 29.7 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.01689, allocations: 326.8 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.01703, allocations: 31.98 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.01727, allocations: 135.6 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.01757, allocations: 106.7 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01757, allocations: 0 / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004081/0.01798, allocations: 145.5 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.018, allocations: 6.969 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.018, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.01802, allocations: 8.031 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.01866, allocations: 79.91 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.02044, allocations: 1.381 MB / 280.2 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.02063, allocations: 16.02 kB / 280.2 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.02065, allocations: 4 kB / 280.2 MB, free: 9.531 MB / 266.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 0.0001263/0.02077, allocations: 117.8 kB / 280.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.02083, allocations: 23.84 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.02138, allocations: 159.3 kB / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.02138, allocations: 0 / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02138, allocations: 0 / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.02138, allocations: 0 / 280.5 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.02227, allocations: 395.7 kB / 280.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02227, allocations: 0 / 280.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.02243, allocations: 27.97 kB / 281 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.02275, allocations: 40.86 kB / 281 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.02277, allocations: 4 kB / 281 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.02419, allocations: 1.272 MB / 282.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.02419, allocations: 3.984 kB / 282.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.02492, allocations: 301.6 kB / 282.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.02495, allocations: 11.97 kB / 282.6 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.02498, allocations: 8 kB / 282.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.02516, allocations: 20.05 kB / 282.6 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.02521, allocations: 7.984 kB / 282.6 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.02522, allocations: 4 kB / 282.6 MB, free: 6.965 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.02535, allocations: 124.8 kB / 282.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02535, allocations: 0 / 282.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.02568, allocations: 39.89 kB / 282.8 MB, free: 6.805 MB / 266.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 0.0001435/0.02582, allocations: 107.1 kB / 282.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007948/0.02662, allocations: 135.8 kB / 283 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02662, allocations: 0 / 283 MB, free: 6.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.027, allocations: 157.8 kB / 283.2 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.02728, allocations: 19.94 kB / 283.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.02896, allocations: 494.3 kB / 283.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.02907, allocations: 101.6 kB / 283.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.02914, allocations: 16.47 kB / 283.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.02919, allocations: 16.5 kB / 283.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02919, allocations: 0 / 283.8 MB, free: 5.707 MB / 266.7 MB Notification: Performance of Templates: time 0.005742/0.03493, allocations: 1.77 MB / 285.6 MB, free: 3.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.2863662340678275]