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.001136/0.001136, allocations: 95.5 kB / 21.2 MB, free: 3.359 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.001115/0.001115, allocations: 156.5 kB / 24.55 MB, free: 4 kB / 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 1.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.602 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 1.403e-06/1.403e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.349e-05, allocations: 5.125 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.005794/0.005818, allocations: 2.094 MB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.006829, allocations: 0.5571 MB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.006916, allocations: 7.938 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.007025, allocations: 11.86 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.007116, allocations: 43.62 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.0104, allocations: 75.78 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.01065, allocations: 215.3 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.01078, allocations: 37.22 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.01093, allocations: 115.8 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.0111, allocations: 67.83 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01114, allocations: 16 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.745e-05/0.01119, allocations: 24 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.01123, allocations: 35.89 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.0113, allocations: 67.81 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.01153, allocations: 131.7 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01153, allocations: 0 / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01154, allocations: 4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.01154, allocations: 3.938 kB / 276.4 MB, free: 13.94 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.0006169/0.01216, allocations: 0.5056 MB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.0122, allocations: 15.98 kB / 276.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.01234, allocations: 28.84 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.01256, allocations: 156.4 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.732e-05/0.01266, allocations: 149.1 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.01269, allocations: 16.38 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.01291, allocations: 191.9 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.01292, allocations: 192 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.01294, allocations: 8.125 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01295, allocations: 7.984 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01309, allocations: 55.95 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.01674, allocations: 466.4 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.01695, allocations: 99.16 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.017, allocations: 27.67 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.01703, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.01705, allocations: 37.39 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.01705, allocations: 0 / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004799/0.01753, allocations: 157.2 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.01756, allocations: 55.34 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.01769, allocations: 201.8 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01771, allocations: 33.7 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.01778, allocations: 166.7 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.01781, allocations: 27.77 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.01787, allocations: 43.33 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.018, allocations: 0.4884 MB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.01809, allocations: 57.67 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.01819, allocations: 84.69 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01831, allocations: 104.8 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01831, allocations: 3.938 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003691/0.01868, allocations: 240.8 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.01872, allocations: 36.67 kB / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.01872, allocations: 0 / 279.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.01892, allocations: 71.7 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.01897, allocations: 11.98 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/0.02331, allocations: 1.877 MB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.02347, allocations: 35.91 kB / 281.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.02348, allocations: 11.97 kB / 281.8 MB, free: 8.062 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 9.152e-05/0.02357, allocations: 164.5 kB / 282 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.02361, allocations: 15.91 kB / 282 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.02381, allocations: 122 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.02382, allocations: 0 / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02382, allocations: 0 / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.02382, allocations: 0 / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.02398, allocations: 156.5 kB / 282.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02398, allocations: 4 kB / 282.3 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.02402, allocations: 8 kB / 282.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/0.02416, allocations: 67.62 kB / 282.4 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.02417, allocations: 4 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.02539, allocations: 1.885 MB / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02539, allocations: 0 / 284.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.02559, allocations: 255.5 kB / 284.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.02561, allocations: 15.89 kB / 284.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.02561, allocations: 0 / 284.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.02568, allocations: 15.94 kB / 284.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.02572, allocations: 15.97 kB / 284.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.02573, allocations: 7.938 kB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.02578, allocations: 146.5 kB / 284.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02578, allocations: 4.031 kB / 284.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.02597, allocations: 48 kB / 284.8 MB, free: 4.938 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 8.872e-05/0.02606, allocations: 99.19 kB / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003584/0.02642, allocations: 341.6 kB / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02642, allocations: 0 / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.02654, allocations: 213.5 kB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.02677, allocations: 32.28 kB / 285.4 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.02734, allocations: 270.5 kB / 285.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.02738, allocations: 67.84 kB / 285.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.02742, allocations: 12.34 kB / 285.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.02745, allocations: 16.5 kB / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02745, allocations: 0 / 285.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of Templates: time 0.004604/0.03205, allocations: 3.133 MB / 288.9 MB, free: 0.6992 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.907945706974715]