Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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.001263/0.001263, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001514/0.001514, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9399/0.9399, allocations: 177 MB / 205.2 MB, free: 5.453 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.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|dcPowerSupply.P",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 4 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.522e-05, allocations: 2.312 kB / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002317/0.002342, allocations: 2.08 MB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.003101, allocations: 0.5725 MB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.003175, allocations: 0 / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.00327, allocations: 23.8 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.003349, allocations: 47.56 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.003569, allocations: 67.84 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.003763, allocations: 215.3 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.003857, allocations: 37.86 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.003983, allocations: 111.8 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.004127, allocations: 75.83 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.004155, allocations: 16 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.004199, allocations: 24 kB / 276.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.00423, allocations: 39.83 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.004277, allocations: 55.89 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.004454, allocations: 143.6 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.004457, allocations: 3.984 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.004458, allocations: 0 / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004461, allocations: 0 / 276.9 MB, free: 13.7 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004268/0.004888, allocations: 386 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.00492, allocations: 15.98 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.005026, allocations: 24.92 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.005188, allocations: 153.5 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.005261, allocations: 145.1 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.005279, allocations: 16.38 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.005438, allocations: 176 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005446, allocations: 4.125 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.005456, allocations: 8.125 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005463, allocations: 8 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.005532, allocations: 37.27 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.005933, allocations: 315.1 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.006068, allocations: 66.53 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.006092, allocations: 20.86 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.006107, allocations: 4 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.006128, allocations: 42.48 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.006129, allocations: 0 / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003038/0.006433, allocations: 138.3 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.006453, allocations: 51.41 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.006528, allocations: 150.5 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.006545, allocations: 29.7 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.006587, allocations: 112 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.006603, allocations: 27.73 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.006648, allocations: 37.69 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.006715, allocations: 322.8 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.006761, allocations: 45.69 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.006811, allocations: 72.23 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.863e-05/0.006889, allocations: 96.11 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006892, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001525/0.007044, allocations: 169.8 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.007072, allocations: 41.69 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007076, allocations: 0 / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.007211, allocations: 60.89 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.007256, allocations: 19.92 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007985/0.008054, allocations: 1.272 MB / 280.9 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.008165, allocations: 39.86 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.008175, allocations: 4 kB / 280.9 MB, free: 9.281 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: 3 (dcPowerSupply.cp,dcPowerSupply.cc,dcPowerSupply.cv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.008238, allocations: 113.8 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.008259, allocations: 15.92 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.00846, allocations: 95.23 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.008462, allocations: 4.031 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.008463, allocations: 4 kB / 281.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008466, allocations: 192 / 281.2 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.008569, allocations: 101.8 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008571, allocations: 0 / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.008601, allocations: 11.98 kB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.201e-05/0.008693, allocations: 56.83 kB / 281.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.0087, allocations: 7.984 kB / 281.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000624/0.009324, allocations: 1.276 MB / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009325, allocations: 192 / 282.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.009434, allocations: 176.3 kB / 282.8 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.009445, allocations: 19.83 kB / 282.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.009454, allocations: 11.97 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.009512, allocations: 12 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.009552, allocations: 15.97 kB / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.009557, allocations: 0 / 282.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.308e-05/0.00958, allocations: 32.2 kB / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00958, allocations: 0 / 282.9 MB, free: 7.188 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.009747, allocations: 44 kB / 282.9 MB, free: 7.145 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 9.176e-05/0.009839, allocations: 80.42 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01009, allocations: 283.5 kB / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.01009, allocations: 0 / 283.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.01018, allocations: 151.4 kB / 283.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.01034, allocations: 36.98 kB / 283.5 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.01082, allocations: 257 kB / 283.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.01086, allocations: 63.84 kB / 283.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.0109, allocations: 16.33 kB / 283.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.01099, allocations: 83.3 kB / 283.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01099, allocations: 3.938 kB / 283.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of Templates: time 0.004549/0.01554, allocations: 3.242 MB / 287.1 MB, free: 2.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupply/DemoPowerSupply.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.5159328067675233]