Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.0009221/0.0009221, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009368/0.0009368, allocations: 160.5 kB / 24.55 MB, free: 12 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 0.9655/0.9655, allocations: 177 MB / 204.8 MB, free: 5.223 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.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|dcPowerSupply.v|dcPowerSupply.i|bufferCapacitor.v|bufferCapacitor.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.044e-05, allocations: 5.266 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002747/0.002767, allocations: 2.646 MB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.003762, allocations: 0.6583 MB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.003886, allocations: 8 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.004012, allocations: 39.64 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.004148, allocations: 83.2 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.004429, allocations: 95.8 kB / 276.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.004746, allocations: 374.5 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.004891, allocations: 61.12 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.005083, allocations: 211.6 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.005225, allocations: 119.6 kB / 277.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.005267, allocations: 32 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.469e-05/0.005301, allocations: 32 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.00535, allocations: 59.75 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.005439, allocations: 107.8 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.005685, allocations: 239.2 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005687, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005687, allocations: 0 / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005692, allocations: 0 / 277.7 MB, free: 12.51 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001002/0.006695, allocations: 0.6671 MB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.00673, allocations: 11.98 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.006809, allocations: 48.75 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.00704, allocations: 204.1 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.29e-05/0.007133, allocations: 149.6 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.007174, allocations: 28.38 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.007481, allocations: 298.8 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.007491, allocations: 4.125 kB / 279.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.007511, allocations: 12.12 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.007521, allocations: 8 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.0077, allocations: 98.86 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.008497, allocations: 0.7995 MB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.008695, allocations: 143.2 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.008825, allocations: 75.64 kB / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.008843, allocations: 7.984 kB / 280.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.009035, allocations: 221.2 kB / 280.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.009037, allocations: 0 / 280.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006511/0.009688, allocations: 313 kB / 280.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.009734, allocations: 114.8 kB / 280.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.009875, allocations: 250.7 kB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.0099, allocations: 37.69 kB / 281.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.009979, allocations: 203.1 kB / 281.3 MB, free: 8.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.01002, allocations: 67.42 kB / 281.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.0101, allocations: 59.59 kB / 281.4 MB, free: 8.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0102, allocations: 0.5001 MB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01031, allocations: 99.61 kB / 282 MB, free: 7.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.01043, allocations: 180.3 kB / 282.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.01059, allocations: 175.3 kB / 282.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0106, allocations: 4 kB / 282.4 MB, free: 7.379 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003489/0.01094, allocations: 373.9 kB / 282.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.01098, allocations: 67.39 kB / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01098, allocations: 0 / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.01122, allocations: 95.56 kB / 282.9 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01133, allocations: 31.92 kB / 282.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.01296, allocations: 2.356 MB / 285.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.01314, allocations: 59.77 kB / 285.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.01316, allocations: 4 kB / 285.4 MB, free: 4.242 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: 9 (dcPowerSupply.cp,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,diode.off,dcPowerSupply.cc,dcPowerSupply.cv,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/0.01325, allocations: 172.5 kB / 285.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01328, allocations: 35.84 kB / 285.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.0133, allocations: 21.81 kB / 285.6 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01331, allocations: 8 kB / 285.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01331, allocations: 0 / 285.6 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01331, allocations: 7.922 kB / 285.6 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.01358, allocations: 401 kB / 286 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01358, allocations: 0 / 286 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.01365, allocations: 19.98 kB / 286 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/0.0138, allocations: 87.66 kB / 286.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01382, allocations: 11.98 kB / 286.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.01504, allocations: 2.345 MB / 288.4 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01505, allocations: 4.031 kB / 288.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.01535, allocations: 294.8 kB / 288.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.0154, allocations: 35.78 kB / 288.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01542, allocations: 7.984 kB / 288.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.0155, allocations: 15.98 kB / 288.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.01557, allocations: 31.89 kB / 288.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.01559, allocations: 12 kB / 288.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.01566, allocations: 177.4 kB / 289 MB, free: 376 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01566, allocations: 0 / 289 MB, free: 376 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.01592, allocations: 99.91 kB / 289.1 MB, free: 276 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (bufferCapacitor.v) * Number of discrete variables: 6 ($whenCondition1,dcPowerSupply.cv,dcPowerSupply.cc,diode.off,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 8.034e-05/0.016, allocations: 99.25 kB / 289.2 MB, free: 164 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.01648, allocations: 0.4985 MB / 289.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.01648, allocations: 0 / 289.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.01667, allocations: 273.2 kB / 290 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01689, allocations: 52.09 kB / 290 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.01769, allocations: 0.49 MB / 290.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.751e-05/0.01774, allocations: 84.31 kB / 290.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.01779, allocations: 9.656 kB / 290.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01783, allocations: 28.42 kB / 290.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01783, allocations: 0 / 290.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.006251/0.02408, allocations: 4.88 MB / 295.5 MB, free: 9.777 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DemoPowerSupplyWithBuffer/DemoPowerSupplyWithBuffer.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: 3.6013103825971484]