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.001778/0.001778, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001928/0.001928, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 7.805 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.001967/0.001967, allocations: 71.88 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003388/0.2912, allocations: 1.976 MB / 434.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2924, allocations: 0.6233 MB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.2925, allocations: 3.938 kB / 435 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.746e-05/0.2925, allocations: 11.86 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.2927, allocations: 55.55 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2931, allocations: 103.8 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.2933, allocations: 191.2 kB / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2935, allocations: 40.19 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2937, allocations: 87.69 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2938, allocations: 71.62 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2938, allocations: 12 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.2939, allocations: 24 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.2939, allocations: 39.83 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.294, allocations: 63.72 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.2943, allocations: 186.3 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2943, allocations: 0 / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2943, allocations: 4 kB / 435.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.2943, allocations: 0 / 435.9 MB, free: 3.043 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.0009454/0.2952, allocations: 401.5 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2953, allocations: 11.98 kB / 436.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.2957, allocations: 60.8 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.296, allocations: 157.3 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.296, allocations: 8.375 kB / 436.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.2961, allocations: 12.38 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2966, allocations: 203.7 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2966, allocations: 4 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.2966, allocations: 8 kB / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2966, allocations: 0 / 436.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2969, allocations: 91.94 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.2979, allocations: 427.1 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.2982, allocations: 98.47 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2984, allocations: 64.83 kB / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2984, allocations: 4 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.2985, allocations: 42.48 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2985, allocations: 0 / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005199/0.299, allocations: 145.7 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/0.2991, allocations: 110.8 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.2993, allocations: 166.8 kB / 437.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.2993, allocations: 29.7 kB / 437.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2994, allocations: 120 kB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2994, allocations: 27.75 kB / 438 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.2995, allocations: 29.7 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.2997, allocations: 326.8 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2998, allocations: 35.97 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.3, allocations: 135.7 kB / 438.5 MB, free: 152 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.3003, allocations: 102.8 kB / 438.6 MB, free: 40 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3003, allocations: 0 / 438.6 MB, free: 40 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003729/0.3007, allocations: 149.5 kB / 438.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3007, allocations: 8 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3007, allocations: 3.938 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3007, allocations: 0 / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.3013, allocations: 79.92 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.303, allocations: 1.374 MB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.3032, allocations: 19.97 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3032, allocations: 8 kB / 440.3 MB, free: 14.29 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.0001416/0.3033, allocations: 129.8 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3034, allocations: 15.95 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.3039, allocations: 159.1 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3039, allocations: 4.031 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3039, allocations: 0 / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3039, allocations: 4 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000835/0.3047, allocations: 383.7 kB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3047, allocations: 4 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3048, allocations: 19.98 kB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002971/0.3051, allocations: 32.86 kB / 441 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3052, allocations: 7.938 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.3064, allocations: 1.26 MB / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3064, allocations: 160 / 442.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000638/0.3071, allocations: 301 kB / 442.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3071, allocations: 7.984 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.3071, allocations: 8 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3073, allocations: 16.05 kB / 442.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.3073, allocations: 11.92 kB / 442.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3074, allocations: 15.88 kB / 442.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.3075, allocations: 119.2 kB / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 442.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000327/0.3078, allocations: 39.89 kB / 442.8 MB, free: 11.59 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.0001448/0.3079, allocations: 99.23 kB / 442.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007019/0.3086, allocations: 135.8 kB / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3086, allocations: 0 / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.309, allocations: 170.7 kB / 443.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3093, allocations: 8 kB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3109, allocations: 0.5738 MB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.311, allocations: 101.4 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.311, allocations: 15.42 kB / 443.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.311, allocations: 0 / 443.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Templates: time 0.005245/0.3163, allocations: 2.33 MB / 446.2 MB, free: 8.086 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/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: 7.088325697928667]