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.0009071/0.0009071, 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.001142/0.001142, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9474/0.9474, allocations: 177 MB / 205.2 MB, free: 5.441 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.433e-06/1.433e-06, allocations: 3.938 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.568e-05, allocations: 2.312 kB / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002508/0.002524, allocations: 2.12 MB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.003394, allocations: 0.5687 MB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.003477, allocations: 11.94 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.003602, allocations: 15.8 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.003697, allocations: 43.62 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.003914, allocations: 67.84 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.004109, allocations: 215.3 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.004207, allocations: 37.86 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004328, allocations: 123.8 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.004472, allocations: 67.78 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.004498, allocations: 20 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.00456, allocations: 27.98 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.004586, allocations: 27.91 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.004634, allocations: 63.88 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004809, allocations: 147.5 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004811, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004811, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.004814, allocations: 0 / 277 MB, free: 13.58 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.0004718/0.005286, allocations: 386.1 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.005332, allocations: 19.98 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.005477, allocations: 24.92 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.005687, allocations: 141.6 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.005785, allocations: 145.1 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.005805, allocations: 20.31 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.005995, allocations: 176 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.006004, allocations: 192 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.00602, allocations: 12.12 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.006025, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.006111, allocations: 45.27 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.006554, allocations: 319.1 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.006686, allocations: 70.5 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.006711, allocations: 20.84 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006726, allocations: 0 / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.006748, allocations: 42.55 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 7.51e-07/0.006748, allocations: 4 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002921/0.00704, allocations: 126.7 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.007062, allocations: 51.41 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.007135, allocations: 146.5 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.00715, allocations: 29.7 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.007192, allocations: 112 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.007211, allocations: 35.72 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.007256, allocations: 33.64 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.007323, allocations: 326.8 kB / 279.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.007365, allocations: 45.7 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.00742, allocations: 83.81 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.939e-05/0.007499, allocations: 88.17 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007501, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001477/0.007648, allocations: 173.9 kB / 279.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.007672, allocations: 37.69 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.007676, allocations: 0 / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.007806, allocations: 60.83 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.007849, allocations: 15.98 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.008748, allocations: 1.284 MB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.008869, allocations: 35.88 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.008884, allocations: 8 kB / 281 MB, free: 9.16 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 7.656e-05/0.008961, allocations: 117.8 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.008985, allocations: 11.94 kB / 281.2 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.009113, allocations: 95.23 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.009115, allocations: 0 / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.009117, allocations: 4 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.009121, allocations: 3.984 kB / 281.3 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.009234, allocations: 101.8 kB / 281.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009236, allocations: 0 / 281.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.009267, allocations: 11.98 kB / 281.4 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/0.009365, allocations: 60.81 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.009375, allocations: 0 / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006175/0.009993, allocations: 1.288 MB / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009993, allocations: 0 / 282.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.0101, allocations: 184.3 kB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.01011, allocations: 15.84 kB / 282.9 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.01012, allocations: 4 kB / 282.9 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.01018, allocations: 16.02 kB / 282.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.01022, allocations: 11.98 kB / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01023, allocations: 3.938 kB / 283 MB, free: 7.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.528e-05/0.01025, allocations: 32.2 kB / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 0 / 283 MB, free: 7.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001908/0.01044, allocations: 44 kB / 283 MB, free: 7.016 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 7.072e-05/0.01051, allocations: 84.41 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.01076, allocations: 267.7 kB / 283.4 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.01076, allocations: 8 kB / 283.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.849e-05/0.01085, allocations: 147.4 kB / 283.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.011, allocations: 31.92 kB / 283.6 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.01144, allocations: 259.6 kB / 283.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.959e-05/0.01148, allocations: 71.83 kB / 283.9 MB, free: 6.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.01151, allocations: 12.34 kB / 283.9 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-05/0.0116, allocations: 79.3 kB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of SimCode: time 3.71e-07/0.0116, allocations: 0 / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of Templates: time 0.004278/0.01588, allocations: 3.24 MB / 287.2 MB, free: 2.785 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 -s gbode -gbm=radauIIA3 -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.5575459599494934]