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.001397/0.001397, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001515/0.001515, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.203 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.001913/0.001913, allocations: 63.89 kB / 378.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003889/0.2621, allocations: 2.081 MB / 434.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2635, allocations: 0.6661 MB / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.2636, allocations: 0 / 434.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.016e-05/0.2636, allocations: 23.78 kB / 434.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.2638, allocations: 39.64 kB / 434.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.2642, allocations: 115.1 kB / 435 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.2645, allocations: 183.3 kB / 435.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2646, allocations: 37.72 kB / 435.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.2649, allocations: 87.64 kB / 435.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.265, allocations: 83.67 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.265, allocations: 12 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2651, allocations: 24 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2652, allocations: 39.84 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2653, allocations: 79.58 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2656, allocations: 181 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2656, allocations: 0 / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2656, allocations: 0 / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2656, allocations: 0 / 435.8 MB, free: 3.41 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.000913/0.2665, allocations: 405.5 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2665, allocations: 11.97 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.267, allocations: 56.8 kB / 436.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.2674, allocations: 169.3 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2674, allocations: 8.375 kB / 436.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.2674, allocations: 4.375 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.2678, allocations: 160.4 kB / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2678, allocations: 0 / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.2678, allocations: 7.984 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2678, allocations: 4 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2681, allocations: 95.88 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2692, allocations: 482.4 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.2695, allocations: 98.53 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2697, allocations: 64.83 kB / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2697, allocations: 0 / 437.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.2698, allocations: 34.5 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.2698, allocations: 3.938 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005119/0.2703, allocations: 153.7 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.2704, allocations: 102.8 kB / 437.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2705, allocations: 162.8 kB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2706, allocations: 25.7 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.2707, allocations: 127.9 kB / 437.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.2707, allocations: 27.75 kB / 437.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.2707, allocations: 29.7 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2709, allocations: 326.8 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.271, allocations: 39.97 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.2712, allocations: 80.27 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2714, allocations: 98.47 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2714, allocations: 0 / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00034/0.2718, allocations: 141.9 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2718, allocations: 7.938 kB / 438.6 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2718, allocations: 4.078 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2718, allocations: 0 / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.2724, allocations: 91.89 kB / 438.7 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.2741, allocations: 1.4 MB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2743, allocations: 20.02 kB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2743, allocations: 11.92 kB / 440.1 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.0001535/0.2744, allocations: 129.9 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.2745, allocations: 11.91 kB / 440.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.275, allocations: 159.1 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.275, allocations: 0 / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.275, allocations: 3.938 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.275, allocations: 4 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.2758, allocations: 435.1 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2758, allocations: 0 / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.2759, allocations: 31.94 kB / 440.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.2761, allocations: 28.78 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2762, allocations: 7.984 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.2774, allocations: 1.287 MB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.2774, allocations: 7.875 kB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.278, allocations: 293.2 kB / 442.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.2781, allocations: 16 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.2781, allocations: 3.938 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.2783, allocations: 19.98 kB / 442.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.2783, allocations: 11.92 kB / 442.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2783, allocations: 4 kB / 442.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2785, allocations: 119.2 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2785, allocations: 0 / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.2788, allocations: 47.89 kB / 442.7 MB, free: 11.86 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.0001751/0.279, allocations: 91.25 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.2797, allocations: 135.9 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2797, allocations: 4 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.2801, allocations: 158.6 kB / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.2804, allocations: 12.22 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.282, allocations: 0.5474 MB / 443.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2823, allocations: 0.7119 MB / 444.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.2824, allocations: 8.5 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.2824, allocations: 15.42 kB / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2824, allocations: 0 / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005614/0.2881, allocations: 1.734 MB / 446.1 MB, free: 8.375 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/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_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: 4.464916166849434]