Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00128/0.002196, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000933/0.000933, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00482/0.005753, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9695/0.9695, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.141e-05, allocations: 5.547 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.002529/0.002551, allocations: 2.673 MB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.003685, allocations: 0.6853 MB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.003779, allocations: 8 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.637e-05/0.003845, allocations: 31.64 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.003956, allocations: 87.2 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004131, allocations: 91.8 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.004419, allocations: 374.5 kB / 248.5 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004533, allocations: 59.09 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.004739, allocations: 240.1 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.004868, allocations: 111.7 kB / 248.9 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.004906, allocations: 28 kB / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.136e-05/0.004937, allocations: 32 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.00498, allocations: 47.8 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.405e-05/0.005054, allocations: 83.88 kB / 249.1 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.00527, allocations: 215.2 kB / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.005283, allocations: 0 / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005283, allocations: 0 / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.005296, allocations: 0 / 249.3 MB, free: 9.531 MB / 250.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.0007007/0.005997, allocations: 0.5968 MB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.006035, allocations: 12.03 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.006091, allocations: 44.89 kB / 249.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006268, allocations: 165.3 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.006349, allocations: 161.6 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.006378, allocations: 24.31 kB / 250.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.006607, allocations: 281.1 kB / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.006615, allocations: 192 / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.006632, allocations: 16.12 kB / 250.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006639, allocations: 4 kB / 250.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.006744, allocations: 73.41 kB / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.007338, allocations: 0.5747 MB / 251.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.007478, allocations: 108.9 kB / 251.3 MB, free: 7.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.00756, allocations: 56.83 kB / 251.4 MB, free: 7.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.007572, allocations: 7.938 kB / 251.4 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.00774, allocations: 207 kB / 251.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.007741, allocations: 0 / 251.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005038/0.008245, allocations: 258.7 kB / 251.8 MB, free: 6.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.008289, allocations: 85.05 kB / 251.9 MB, free: 6.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.008409, allocations: 187.5 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.008434, allocations: 33.7 kB / 252.1 MB, free: 6.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.008502, allocations: 148.4 kB / 252.3 MB, free: 6.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.008548, allocations: 67.41 kB / 252.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.008614, allocations: 49.92 kB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.00871, allocations: 338.8 kB / 252.7 MB, free: 5.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.008787, allocations: 87.62 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.00889, allocations: 156.9 kB / 253 MB, free: 5.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.009034, allocations: 167.1 kB / 253.1 MB, free: 5.348 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.009037, allocations: 4 kB / 253.1 MB, free: 5.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002843/0.009322, allocations: 314.9 kB / 253.4 MB, free: 5.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.009367, allocations: 67.34 kB / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009372, allocations: 0 / 253.5 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.009539, allocations: 80.86 kB / 253.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.009651, allocations: 43.91 kB / 253.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.01105, allocations: 1.602 MB / 255.2 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.01122, allocations: 59.69 kB / 255.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01124, allocations: 7.984 kB / 255.3 MB, free: 3.039 MB / 250.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.442e-05/0.01132, allocations: 133.8 kB / 255.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.01135, allocations: 19.98 kB / 255.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.01137, allocations: 25.8 kB / 255.5 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01137, allocations: 4 kB / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01137, allocations: 0 / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01138, allocations: 3.938 kB / 255.5 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01159, allocations: 255.6 kB / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01159, allocations: 0 / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.553e-05/0.01168, allocations: 31.91 kB / 255.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.01172, allocations: 31.83 kB / 255.8 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.01187, allocations: 88.7 kB / 255.9 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01188, allocations: 3.938 kB / 255.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009619/0.01284, allocations: 1.591 MB / 257.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01285, allocations: 0 / 257.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.01306, allocations: 202.6 kB / 257.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01308, allocations: 11.98 kB / 257.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.01316, allocations: 19.98 kB / 257.7 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.01322, allocations: 32.02 kB / 257.7 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01323, allocations: 7.984 kB / 257.7 MB, free: 460 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.01327, allocations: 59.03 kB / 257.8 MB, free: 400 kB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01327, allocations: 0 / 257.8 MB, free: 400 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.01349, allocations: 87.89 kB / 257.9 MB, free: 312 kB / 250.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.161e-05/0.01357, allocations: 92.3 kB / 258 MB, free: 212 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.01395, allocations: 432.4 kB / 258.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.01396, allocations: 8.125 kB / 258.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.01411, allocations: 212.8 kB / 258.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.01427, allocations: 67.69 kB / 258.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.01587, allocations: 498.8 kB / 259.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.01592, allocations: 84.31 kB / 259.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.01597, allocations: 17.64 kB / 259.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.0161, allocations: 99.34 kB / 259.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0161, allocations: 0 / 259.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of Templates: time 0.006932/0.02304, allocations: 5.324 MB / 264.7 MB, free: 9.461 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.100744149647653]