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.0009751/0.0009751, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 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.000938/0.000938, allocations: 161.8 kB / 24.82 MB, free: 9.258 MB / 18.57 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.9793/0.9793, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.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.313e-06/1.313e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.029e-05, allocations: 5.266 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002294/0.002314, allocations: 2.069 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003385, allocations: 0.6425 MB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.003458, allocations: 0 / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.003505, allocations: 23.78 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.003617, allocations: 39.64 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.003897, allocations: 111.7 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.004057, allocations: 191.2 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004169, allocations: 32.44 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.004358, allocations: 123.7 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.004434, allocations: 59.8 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.004459, allocations: 16 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.891e-05/0.004508, allocations: 23.94 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.004533, allocations: 39.83 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.071e-05/0.004574, allocations: 59.83 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.00473, allocations: 135.5 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004731, allocations: 0 / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004732, allocations: 0 / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004735, allocations: 0 / 276.9 MB, free: 13.63 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.0004591/0.005194, allocations: 495.8 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.005229, allocations: 15.98 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.005417, allocations: 56.81 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005562, allocations: 160.3 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.005571, allocations: 12.31 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.005594, allocations: 12.38 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.005767, allocations: 185.2 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.005775, allocations: 192 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005786, allocations: 4.375 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.005793, allocations: 11.94 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.184e-05/0.005845, allocations: 33.38 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.006313, allocations: 443 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.0064, allocations: 55.03 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.006466, allocations: 39.66 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.006482, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.006499, allocations: 33.39 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.0065, allocations: 4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001509/0.00665, allocations: 85.52 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.006688, allocations: 106.8 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.006779, allocations: 217.8 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006792, allocations: 25.7 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.006858, allocations: 166.7 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.006875, allocations: 27.75 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.006917, allocations: 39.33 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.007031, allocations: 0.4923 MB / 279.6 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.007055, allocations: 8 kB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.00712, allocations: 121.8 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.486e-05/0.007185, allocations: 58.98 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007186, allocations: 0 / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001104/0.007297, allocations: 93.55 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.00731, allocations: 4 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.007315, allocations: 4 kB / 279.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.007323, allocations: 3.938 kB / 279.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.007603, allocations: 83.92 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008812/0.008484, allocations: 1.867 MB / 281.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.008553, allocations: 19.94 kB / 281.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.008559, allocations: 4.156 kB / 281.8 MB, free: 8.297 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 7.493e-05/0.008634, allocations: 160.6 kB / 282 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.008657, allocations: 11.95 kB / 282 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.008832, allocations: 117.9 kB / 282.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.008834, allocations: 4 kB / 282.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.008835, allocations: 0 / 282.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008839, allocations: 3.984 kB / 282.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.009181, allocations: 381.1 kB / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009183, allocations: 0 / 282.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.009251, allocations: 19.98 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.009398, allocations: 39.66 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.009405, allocations: 3.984 kB / 282.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.01031, allocations: 1.717 MB / 284.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01031, allocations: 7.938 kB / 284.3 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01052, allocations: 271.1 kB / 284.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.01053, allocations: 16.06 kB / 284.6 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.01054, allocations: 7.938 kB / 284.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.01061, allocations: 11.98 kB / 284.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.01064, allocations: 11.98 kB / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.01064, allocations: 0 / 284.6 MB, free: 5.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.01069, allocations: 156 kB / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01069, allocations: 0 / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.01088, allocations: 39.94 kB / 284.8 MB, free: 5.129 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 9.315e-05/0.01097, allocations: 103.2 kB / 284.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.01125, allocations: 99.52 kB / 285 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01125, allocations: 0 / 285 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01139, allocations: 200.6 kB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.01156, allocations: 8 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.01234, allocations: 442.8 kB / 285.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.01238, allocations: 67.34 kB / 285.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.654e-05/0.01241, allocations: 12.48 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.01251, allocations: 98.16 kB / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01251, allocations: 0 / 285.8 MB, free: 4.031 MB / 266.7 MB Notification: Performance of Templates: time 0.003549/0.01606, allocations: 1.914 MB / 287.7 MB, free: 2.125 MB / 266.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 -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.576205728109926]