Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001561/0.001561, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001728/0.001728, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2812, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00373/0.2849, allocations: 2.085 MB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.2862, allocations: 0.6545 MB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.2863, allocations: 7.938 kB / 434.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.333e-05/0.2863, allocations: 19.78 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2865, allocations: 47.56 kB / 434.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.2869, allocations: 111.8 kB / 435 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2872, allocations: 179.3 kB / 435.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2873, allocations: 38.47 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2876, allocations: 91.64 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2877, allocations: 79.67 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2877, allocations: 16 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.2878, allocations: 27.92 kB / 435.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.2878, allocations: 31.92 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.2879, allocations: 71.59 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.2882, allocations: 184.8 kB / 435.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.2882, allocations: 0 / 435.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2882, allocations: 4 kB / 435.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.2882, allocations: 3.984 kB / 435.7 MB, free: 3.73 MB / 334.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.0008865/0.2891, allocations: 478.6 kB / 436.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2891, allocations: 8.031 kB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.2895, allocations: 56.8 kB / 436.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.2899, allocations: 220.1 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2899, allocations: 12.36 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.2899, allocations: 8.375 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.2903, allocations: 163.8 kB / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2903, allocations: 0 / 436.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.2903, allocations: 4 kB / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2903, allocations: 4 kB / 436.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2906, allocations: 91.94 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.2916, allocations: 0.5072 MB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.2919, allocations: 102.5 kB / 437.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.2921, allocations: 72.75 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.2921, allocations: 0 / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2922, allocations: 34.5 kB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.2922, allocations: 4 kB / 437.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005088/0.2927, allocations: 137.6 kB / 437.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.2927, allocations: 106.8 kB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2929, allocations: 158.9 kB / 437.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2929, allocations: 29.7 kB / 437.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.293, allocations: 123.9 kB / 438 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.2931, allocations: 35.89 kB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.2931, allocations: 37.62 kB / 438 MB, free: 1.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2933, allocations: 322.8 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.2934, allocations: 35.98 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2936, allocations: 80.27 kB / 438.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.2939, allocations: 98.47 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2939, allocations: 0 / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003629/0.2942, allocations: 145.6 kB / 438.7 MB, free: 444 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2942, allocations: 11.94 kB / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2942, allocations: 0 / 438.7 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2943, allocations: 4.031 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.2949, allocations: 87.95 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.2966, allocations: 1.497 MB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.2968, allocations: 19.97 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.2968, allocations: 11.94 kB / 440.3 MB, free: 14.66 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 0.0001704/0.297, allocations: 121.9 kB / 440.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.297, allocations: 11.95 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.2975, allocations: 163.5 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2975, allocations: 0 / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2975, allocations: 11.88 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2975, allocations: 0 / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.2983, allocations: 460 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2983, allocations: 4 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2985, allocations: 24.02 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/0.2987, allocations: 28.83 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2987, allocations: 4 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.3, allocations: 1.391 MB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3, allocations: 3.938 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.3006, allocations: 301.2 kB / 442.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.3007, allocations: 93.16 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3007, allocations: 7.938 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.3009, allocations: 19.86 kB / 443 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.3009, allocations: 11.98 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3009, allocations: 0 / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.301, allocations: 124.1 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.301, allocations: 0 / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.3014, allocations: 47.89 kB / 443.1 MB, free: 11.6 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.0001636/0.3015, allocations: 103.2 kB / 443.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007109/0.3022, allocations: 131.9 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3022, allocations: 0 / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.3026, allocations: 162.6 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3028, allocations: 8 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3045, allocations: 0.5754 MB / 444.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3048, allocations: 0.7196 MB / 444.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.3049, allocations: 15.42 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3049, allocations: 0 / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Templates: time 0.004523/0.3094, allocations: 2.266 MB / 447.1 MB, free: 7.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.046583110932261]