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.001321/0.001321, allocations: 117.7 kB / 19.18 MB, free: 3.906 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.001501/0.001501, allocations: 201 kB / 22.12 MB, free: 0.9648 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.445/1.445, allocations: 230.4 MB / 255.4 MB, free: 15.03 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.002057/0.002057, allocations: 75.97 kB / 374.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09362, allocations: 53.31 MB / 428.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00351/0.09713, allocations: 2.07 MB / 430.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.09841, allocations: 0.6545 MB / 430.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.09851, allocations: 4 kB / 430.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.682e-05/0.09858, allocations: 15.8 kB / 430.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.09873, allocations: 43.62 kB / 430.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.09915, allocations: 111 kB / 431 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.09942, allocations: 187.2 kB / 431.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.09955, allocations: 37.53 kB / 431.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.09979, allocations: 91.58 kB / 431.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.09992, allocations: 83.67 kB / 431.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.09995, allocations: 12 kB / 431.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.1, allocations: 20 kB / 431.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.1001, allocations: 35.84 kB / 431.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.1001, allocations: 75.66 kB / 431.5 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1004, allocations: 187.2 kB / 431.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1004, allocations: 0 / 431.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1004, allocations: 0 / 431.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1004, allocations: 4 kB / 431.7 MB, free: 0.8125 MB / 350.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.0008522/0.1013, allocations: 482.6 kB / 432.2 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1013, allocations: 8.031 kB / 432.2 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004298/0.1018, allocations: 52.81 kB / 432.2 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1619/0.2637, allocations: 220.8 kB / 432.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2637, allocations: 8.469 kB / 432.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.2638, allocations: 10.7 kB / 432.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2641, allocations: 150.2 kB / 432.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2641, allocations: 2.094 kB / 432.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2642, allocations: 4.969 kB / 432.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2642, allocations: 2.344 kB / 432.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.2644, allocations: 104.2 kB / 432.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008749/0.2653, allocations: 0.5021 MB / 433.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.2656, allocations: 105.8 kB / 433.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.2658, allocations: 62.09 kB / 433.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.2658, allocations: 1.188 kB / 433.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2659, allocations: 37.47 kB / 433.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2659, allocations: 0 / 433.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000447/0.2663, allocations: 144.4 kB / 433.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2663, allocations: 112.2 kB / 433.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2664, allocations: 160.7 kB / 433.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2665, allocations: 30.11 kB / 433.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.2665, allocations: 121.4 kB / 434 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2665, allocations: 22.67 kB / 434 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.2666, allocations: 36.7 kB / 434 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.2666, allocations: 325.3 kB / 434.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2668, allocations: 37.66 kB / 434.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2669, allocations: 75.19 kB / 434.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.2671, allocations: 100.9 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2671, allocations: 7.219 kB / 434.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003043/0.2674, allocations: 142.8 kB / 434.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2674, allocations: 10.47 kB / 434.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2674, allocations: 0 / 434.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2675, allocations: 3.406 kB / 434.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.268, allocations: 85.73 kB / 434.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.269, allocations: 1.5 MB / 436.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2692, allocations: 20.94 kB / 436.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2692, allocations: 7.016 kB / 436.3 MB, free: 8.645 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 7.692e-05/0.2693, allocations: 127.4 kB / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.2693, allocations: 16.55 kB / 436.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.2698, allocations: 154.7 kB / 436.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2698, allocations: 4.594 kB / 436.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.2698, allocations: 1.125 kB / 436.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2698, allocations: 0 / 436.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006158/0.2704, allocations: 464.6 kB / 437.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2704, allocations: 1.125 kB / 437.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2705, allocations: 22.94 kB / 437.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.2707, allocations: 29.28 kB / 437.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2707, allocations: 12.27 kB / 437.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007307/0.2715, allocations: 1.397 MB / 438.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2715, allocations: 0 / 438.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.272, allocations: 296.7 kB / 438.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.272, allocations: 88.52 kB / 438.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.272, allocations: 6.031 kB / 438.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2722, allocations: 15.73 kB / 438.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.2722, allocations: 11 kB / 438.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2723, allocations: 2.75 kB / 438.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.821e-05/0.2723, allocations: 130.6 kB / 439.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2723, allocations: 2.906 kB / 439.1 MB, free: 6.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.2726, allocations: 41.55 kB / 439.1 MB, free: 6.441 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 9.2e-05/0.2727, allocations: 101.9 kB / 439.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.2734, allocations: 134.9 kB / 439.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2734, allocations: 0 / 439.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2737, allocations: 166.3 kB / 439.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2739, allocations: 10.31 kB / 439.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2753, allocations: 0.5675 MB / 440.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2754, allocations: 0.7098 MB / 440.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.2754, allocations: 16.05 kB / 440.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2754, allocations: 0 / 440.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of Templates: time 0.004227/0.2796, allocations: 2.263 MB / 443.1 MB, free: 5.105 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/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_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: 6.958072912064381]